Bridge networking configuration to access host from inside pods #914
-
I need to access services running on host from inside pods but host IP is not reacheable.
Note: I am using calico and Ingress nginx, so I disabled flannel and traefik ... but I want to make it work using the custom bridge network that is created by k3d.
Is there a way to do it? When a run a busybox from docker I can ping the host IP from inside the container.
When I run a busybox as a pod in k3d and ping host IP, it is not reacheable.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @GuillermoGarces , thanks for starting this discussion! What's the system you're running on? Linux? Docker for Desktop on Win or Mac? |
Beta Was this translation helpful? Give feedback.
-
Official answer is that it should work out of the box if the network fabric is configured correctly as explained in https://k3d.io/v5.2.2/usage/advanced/calico/#use-calico-instead-of-flannel. Or just installing k3d without disabling flannel |
Beta Was this translation helpful? Give feedback.
Official answer is that it should work out of the box if the network fabric is configured correctly as explained in https://k3d.io/v5.2.2/usage/advanced/calico/#use-calico-instead-of-flannel.
Or just installing k3d without disabling flannel