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

For some time he was looking for him and could not understand the answer: suppose I have two containers inside the pod, and I need to send other secrets. Should I use https or is it safe to do this via http? If I understand correctly, the traffic inside the container is in any case protected by a firewall, so you cannot eavesdrop on traffic from outside the container. So ... no need for https?

+4
source share
1 answer

Containers inside Pod interact using the loopback network interface, localhost.

TCP packets will be redirected back to the IP layer if the address is localhost.

. , IP- , , .

, Pod, /.

, understanding-kubernetes-networking

, .

+2

Source: https://habr.com/ru/post/1692915/


All Articles