You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am using a docker image inside a kubernetes pod, all run with kind.
I am setting up several virtual can buses and sending traffic through them in my host os (ubuntu 20:04).
When I used just my docker image I ran docker run --network="host" and that created the "bridge" from my host os to the image, so if i went to my docker container and did ifconfig -a | grep can i could see the same virtual buses from my host os and my container set up.
I tried doing this with kubernetes by adding to my deployment yaml hostNetwork: true but the communication of the virtual buses is not being made inside my pod, what could I do for this?
Thank you!
The text was updated successfully, but these errors were encountered:
On linux with docker-ce (not docker desktop), kind will be on a bridge network named kind and you should be able to reach the node IPs from teh host, from the nodes you can then reach the pods.
Going the other direction you have to hit the node network's bridge IP or other non-local IPs since loopback is local to the nodes. The nodes are not on the host's network directly and we will not support that (it wouldn't work right for multiple clusters or nodes anyhow if they were in host net, you could run a single node by just using kubeadm init directly on the host instead).
Hello!
I am using a docker image inside a kubernetes pod, all run with kind.
I am setting up several virtual can buses and sending traffic through them in my host os (ubuntu 20:04).
When I used just my docker image I ran docker run --network="host" and that created the "bridge" from my host os to the image, so if i went to my docker container and did ifconfig -a | grep can i could see the same virtual buses from my host os and my container set up.
I tried doing this with kubernetes by adding to my deployment yaml hostNetwork: true but the communication of the virtual buses is not being made inside my pod, what could I do for this?
Thank you!
The text was updated successfully, but these errors were encountered: