Kubernetes

How a Kubernetes Pod Gets an IP Address

When a pod is scheduled on a kubernetes node, there are various interactions that result into a pod getting an IP address. This post goes into the details of how a pod gets an IP address and describes the interactions between various components - kubelet, CRI Plugin, Container Runtime and CNI Plugins.

Kubernetes NodePort and iptables rules

Diving into how kubernetes NodePort works and the corresponding iptables rules kube-proxy creates. Also, finding answers to operational questions like what happens when a non-kubernetes process uses a NodePort and whether NodePort continues to work if kube-proxy process dies.