Comment on Question about quadlets and kube play
Asparagus0098@sh.itjust.works 4 weeks agoI ran a podman quadlet setup as a test some time ago. My setup was a little like this:
- Create a pod if the app uses multiple containers
- Create a seperate network for each app (either a single container or multiple containers grouped in a pod)
- Add the reverse proxy container to all networks
- I don’t expose any ports to the host unless necessary
If you create a new network in podman you can access other containers and pods in the same network with their name like so
container_name:port
orpod_name:port
. This functionality is disabled in the default network by default.
sugar_in_your_tea@sh.itjust.works 4 weeks ago
Awesome, that’s exactly what I want! I guess I missed where pods could be part of multiple networks.
I’m on podman 4.x, but I’m planning to upgrade the OS anyway soon, so it probably won’t be an issue.
Thanks, you’re a stud!