Hi !
I am running JupyterHub on K8S on AWS (EKS) and I want to disable outside internet access for the users.
I am deploying the cluster using Helm, and I want to config this using the networkPolicy in the values.yaml. I have tried a few combinations but nothing is working. Ideas ?
from what I understand I need to also install the network policy controller on the Kubernetes cluster. How can I install this ?
Kubernetes requires a network plugin for NetworkPolicies to have an effect, the link I posted suggests you’ll need to install Calico on EKS. If your cluster doesn’t support NetworkPolicies Kubernetes will let you deploy one using the Z2JH chart but it’ll be ignored.
I installed Calico on my EKS cluster, but I am now getting a timeout error when Spawing a new user. Like you said, default rules should ensure JupyterHub will work, so I don’t understand where the error is from and also how to get more logs or something to further debug this issue.
yes but can i specify the DNSs I want ? In this case I want the JupyterHub cluster to be able to send request to my Backend cluster, which is in a different AWS account (so I can only reference with DNS and not IP), and for egress to be blocked otherwise.