Advanced debugging in Kubernetes
Introduction
Pods are the fundamental building block of Kubernetes applications. They are the smallest, most basic deployable resource and can represent as little as a single instance of a running process. Pods are made of one or more containers sharing specific Linux namespaces ( netns
, utsns
and ipcns
). That is why containers in a pod can share the network interface, IP address, network ports and hostname and communicate over localhost
or the 127.0.0.1
IP address. On the other hand, containers inside the pod do not share the filesystem ( mntns
), nor can they see…