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
Allow manually started docker containers to have internet access #2002
Comments
Yes, please! |
yes I am having the same issues. |
I can confirm that the iptables command did fix the issue, now the question is how to make this part of |
kubespray has a
|
@manics is this parameter enough to enable internet access? (same effects as the previous iptables line?). If true, we need to update the comment above that line in ordert to inform user about its side-effect. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
After modifying
|
Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST
Environment:
Kubespray version (commit) (
git rev-parse --short HEAD
): 00916deNetwork plugin used: Calico
Anything else do we need to know:
Normally kubespray totally disables docker networking with
--ip-masq=false
and--iptables=false
so when I start a docker container outside of kubernetes it won't have access to any network specially internet. Sometimes this is necessary, like when I want to use a application that needs internet access and doesn't have kubernetes manifest or more importantly when I use Docker-out-side-of-Docker for CI/CD pipelines and jobs creates docker containers when I rundocker build
inside kubernetes powered runner, the new container does not have internet access and I can't build docker image. I've manually added following iptables rule and enabled internet access.The text was updated successfully, but these errors were encountered: