Kubernetes - do I need to use https for container communication inside a pod? Kubernetes - do I need to use https for container communication inside a pod? kubernetes kubernetes

Kubernetes - do I need to use https for container communication inside a pod?


Containers inside a Pod communicate using the loopback network interface, localhost.

TCP packets would get routed back at IP layer itself, if the address is localhost.

It is implemented entirely within the operating system's networking software and passes no packets to any network interface controller. Any traffic that a computer program sends to a loopback IP address is simply and immediately passed back up the network software stack as if it had been received from another device.

So when communication among Containers inside a Pod, it is not possible to get hijacked/ altered.

If you want to understand more, take a look understanding-kubernetes-networking

Hope it answers your question