Skip to content
Snippets Groups Projects
Commit 50362cba authored by František Dvořák's avatar František Dvořák
Browse files

Fix connection from within notebooks to the notebooks public endpoint

The problem has been on clusters with public IP addresses on the nodes. The
added policy will explicitly allow connecting to cluster ingress service.

Needed for testing from within notebooks and for collaborative feature.
parent b5c06cbf
No related branches found
No related tags found
1 merge request!25Upgrade versions - k8s 1.31.2, jupyterhub 4.1.6
...@@ -39,6 +39,15 @@ singleuser: ...@@ -39,6 +39,15 @@ singleuser:
limit: 2 limit: 2
guarantee: .02 guarantee: .02
defaultUrl: "/lab" defaultUrl: "/lab"
networkPolicy:
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
serviceSelector:
matchLabels:
k8s-app: cluster-ingress
image: image:
name: eginotebooks/single-user-eosc name: eginotebooks/single-user-eosc
tag: "sha-dea4fa2" tag: "sha-dea4fa2"
......
...@@ -39,6 +39,15 @@ singleuser: ...@@ -39,6 +39,15 @@ singleuser:
limit: 2 limit: 2
guarantee: .2 guarantee: .2
defaultUrl: "/lab" defaultUrl: "/lab"
networkPolicy:
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
serviceSelector:
matchLabels:
k8s-app: cluster-ingress
image: image:
name: eginotebooks/single-user-eosc name: eginotebooks/single-user-eosc
tag: "sha-dea4fa2" tag: "sha-dea4fa2"
......
...@@ -39,6 +39,15 @@ singleuser: ...@@ -39,6 +39,15 @@ singleuser:
limit: 2 limit: 2
guarantee: .2 guarantee: .2
defaultUrl: "/lab" defaultUrl: "/lab"
networkPolicy:
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
serviceSelector:
matchLabels:
k8s-app: cluster-ingress
image: image:
name: eginotebooks/single-user-eosc name: eginotebooks/single-user-eosc
tag: "sha-dea4fa2" tag: "sha-dea4fa2"
......
...@@ -40,6 +40,15 @@ singleuser: ...@@ -40,6 +40,15 @@ singleuser:
limit: 2 limit: 2
guarantee: .2 guarantee: .2
defaultUrl: "/lab" defaultUrl: "/lab"
networkPolicy:
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
serviceSelector:
matchLabels:
k8s-app: cluster-ingress
image: image:
name: eginotebooks/single-user-eosc name: eginotebooks/single-user-eosc
tag: "sha-dea4fa2" tag: "sha-dea4fa2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment