Replies: 6 comments 2 replies
-
Theoretically, you could use a multi-tenant-capable CNI driver to do this - CNI was originally designed to work with Kubernetes, so it's definitely capable of this sort of work. However, Podman in general is very much focused on single-node only use, so I can say that I personally have never seen this done before, and I don't think anyone on the Podman team has much in the way of expertise about this. |
Beta Was this translation helpful? Give feedback.
-
Yeah likely possible with the right cni plugins but this is not really supported by us. I recommend to just forward the needed ports from the host into the container and then connect to the host ip. |
Beta Was this translation helpful? Give feedback.
-
Just so this can be more easily found in the future, I'm going to move this to the discussions. |
Beta Was this translation helpful? Give feedback.
-
Does it have similar feature like docker which show on this video It creates network overlay drive to share across the nodes |
Beta Was this translation helpful? Give feedback.
-
No Podman has no support for cross Node networking. Or Cross Node anything. When you go to multiple nodes we recommend Kubernetes. |
Beta Was this translation helpful? Give feedback.
-
Not sure what you mean by Podman Scalable. If Scalable means to you running containers on multiple machines via one Podman command, then no it can not do that and is not designed to do that. (Thats Kubernets+CRI-Os job). I am not sure what your goal is. If what you want is two containers running on separate VMs running within the same network and able to see each other, then Podman can not do that. @Luap99 @mheon Any other ideas? |
Beta Was this translation helpful? Give feedback.
-
I am currently designing a podman architecture, if I have 2 vm system with podman support.
how can I communicate each other via cni network? Should I either use
network=host
orpublished port
approach, or am I missing out of some podman feature ??Giving an illustration below, How should I clustered the connection? By using which ip interface?
Beta Was this translation helpful? Give feedback.
All reactions