Comment on Question on SSL traffic between podman containers and clients (should I run k3s?)

<- View Parent
MigratingtoLemmy@lemmy.world ⁨1⁩ ⁨year⁩ ago

I would probably look into plugging the RP into the appropriate podman network namespaces, or running it on a dedicated host (VM/physical - this time using SSL/TLS between RP and applications, since traffic leaves the host) and implementing port forwarding/firewalling with netfilter.

Could you detail how you would do this? Especially since the containers in my case do not support HTTPS (they do not have the libraries compiler, if I’m not wrong).

Thank you for the clarification. I do not think I’ll be running malicious containers inside my pods, but I would like to contain unencrypted traffic as much as possible. Running an RP for every pod seems doable and since I reach containers through their loopback address inside the pod, this is reasonably safe for my use-case too.

Could you confirm if one can reach one’s containers on the loopback address in a separate network namespace on podman? I was wondering about the differences between a pod and a network namespace on podman, and so far the only mention of something like this is that containers in pods share a “security context”. I don’t know enough to understand what this is since I haven’t read about pods in Kubernetes.

Thanks, I was planning to use Ansible too.

source
Sort:hotnewtop