-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCS Storage bucket mount fails for single user pods on GKE Autopilot #3249
Comments
Have you configured If that's not working please fill in all the information requested in the issue template, especially your full configuration |
Please find the full template with supplied configuration
|
This is not an issue. I added the following entry and it worked
|
I have described detailed steps in my post if anyone wants to fully setup GCS bucket as a shared drive with zero-to-jupyterhub |
Bug description
Google Cloud Storage bucket can be mounted as a drive using GCS FUSE CSI driver. When a bucket is configured as a shared drive for the single user pods, the pod fails to start. Upon detailed investigation at my end, I see that current network policy for single user egress only allows to reach Google meta server IP 169.254.169.254 on port 53 but GCS FUSE CSI driver requires egress to the meta server IP on port 80. I am including the deny policy from the GCP logs here
The workaround is to add network policy to allow port 80 for the GCP meta server IP 169.254.169.254
Reference: Network policies were discussed earlier for my other issue 3167
NOTE: I have searched on Jupyter community forum for similar issues and did not find any relevant to this behavior
How to reproduce
Expected behaviour
Single user pod should start successfully
Actual behaviour
Single user pod fails to start
Your personal set up
Helm chart version: 3.1.0
Full environment
Configuration
# jupyterhub_config.py
Logs
The text was updated successfully, but these errors were encountered: