Skip to content
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

Document the fact that access to cloud metadata is disabled by default #698

Closed
wookasz opened this issue May 24, 2018 · 4 comments · Fixed by #1564
Closed

Document the fact that access to cloud metadata is disabled by default #698

wookasz opened this issue May 24, 2018 · 4 comments · Fixed by #1564

Comments

@wookasz
Copy link

wookasz commented May 24, 2018

It's not immediately obvious that iptables are overridden with an init container, blocking access to EC2 metadata.

This should be documented somewhere. Perhaps in https://zero-to-jupyterhub.readthedocs.io/en/latest/amazon/step-zero-aws.html.

@cam72cam
Copy link
Contributor

I'd be happy to write something up, can one of the maintainers assign the ticket to me?

@metonymic-smokey
Copy link
Contributor

@cam72cam are you working on this issue?
@yuvipanda could I pick this issue, if no one else is working on it?

Thanks!

@consideRatio
Copy link
Member

@metonymic-smokey as it has passed long time, you can certainly work on this! ❤️!

Note that I think this is a Kubernetes issue in general, at least on GKE as well. I don't understand all this so well either other than we block network access from our user pods to avoid an issue.

@metonymic-smokey
Copy link
Contributor

metonymic-smokey commented Jan 31, 2020

@consideRatio @wookasz this page in the Security docs touches upon something similar in the Cloud Metadata server security section. It has a brief on how to run iptables in an init container, which could potentially set specific firewall rules for the user pod.

For a start, I've added a brief note about init containers overriding iptables and linked to the page referred above. Would love more pointers on what I could add!

Another issue with the page: The page referred above has some commands misaligned with their code blocks and some minor errors. I've tried to fix those here too.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants