Kubernetes Header Image

Kubernetes Finalizers: Deep Dive into PVC Deletion

This article builds upon an old post I wrote many years ago:  Kubernetes PVC stuck in Terminating state. That post covered the symptoms and quick fixes. This one is for platform engineers and Kubernetes operators who want to understand why resources like PVCs get stuck in Terminating, how Kubernetes handles deletion internally, and what it … Continue reading Kubernetes Finalizers: Deep Dive into PVC Deletion

Kubernetes Header Image

Kubernetes Scheduling: nodeSelector vs nodeAffinity

When deploying workloads in Kubernetes, controlling where your pods land is crucial. Two primary mechanisms facilitate this: nodeSelector and nodeAffinity. While they might seem similar at first glance, they serve different purposes and offer varying degrees of flexibility. The Basics: nodeSelector The nodeSelector is the simplest way to constrain pods to specific nodes. It matches … Continue reading Kubernetes Scheduling: nodeSelector vs nodeAffinity

Kubernetes Header Image

Highlight Kubernetes Labels in your Terminal with AWK

A quick tip and bit of code: if you’re outputting a lot of Kubernetes metadata using the –show-labels command, it can feel like looking for a needle in a haystack. The snippet below colorizes key label outputs to make them stand out. The Code Snippet When working with Kubernetes, it can be helpful to visually … Continue reading Highlight Kubernetes Labels in your Terminal with AWK

Kubernetes

vSphere CSI Driver Images unable from gcr.io – quick fix

The Issue Someone has deleted the Cloud-Provider-vSphere project in the gcr.io registry for container images. The default pull policy for the vSphere CSI when using VMware’s manifests is set to always, meaning that if you reboot your cluster, it will not come back online. This is what my cluster looked like when I booted it … Continue reading vSphere CSI Driver Images unable from gcr.io – quick fix

Cilium Event Types Header

Understanding cilium_event_type when using Cilium & Hubble

The Issue In a platform that’s deployed with Cilium, when using Hubble either to view the full JSON output or to configure which events are captured using the allowlist or denylist you may have seen a field called event_type which uses an integer. Below is an example allow list using “event_type”, to define which flows … Continue reading Understanding cilium_event_type when using Cilium & Hubble