kubernetes

Understanding the Kubernetes Scale subresource

In this post, I discuss the scale subresource in Kubernetes and its role in managing resources like Deployments and StatefulSets. I discuss its importance in providing a unified interface for scaling settings in Kubernetes, how it's used with Horizontal Pod Autoscaler (HPA), Pod Disruption Budget (PDB), and manual scaling with the kubectl scale command. Additionally, the blog covers the significance of the scale subresource for custom resources, explaining how it facilitates integration with rest of the Kubernetes components.

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.