Archive
All articles
Every article on The k8s Beacon, newest first, by category.
31 articles
Security5 articles
Your provider was breached and every Secret is burned: what to rotate, and how to need less of it
In November 2026 leaked credentials let attackers act as users in some Rackspace Spot customer organisations, with access to every Secret in their clusters. This article covers what a Secret actually unlocks, why you contain and hunt before you rotate, how to find the pods, tokens and webhooks an intruder leaves behind, the order to rotate in, and how to keep long-lived credentials out of Secrets so the next breach costs less.
Read article →The minimal viable network policy setup that actually works
A working network policy baseline is five small policies per namespace: default deny in both directions, DNS egress, and explicit allows for the namespace, the ingress controller and monitoring. The hard part is introducing them without an outage and knowing what they don't cover. This guide gives a rollout order with a rollback at every step, and explains where AdminNetworkPolicy went.
Read article →When namespace write access crosses namespaces: an RBAC check for CVE-2026-2270
CVE-2026-2270 lets a user with namespace-scoped write access to StatefulSets and ControllerRevisions create a pod in another namespace. The built-in edit and admin roles don't grant that pair, but wildcard roles do. Here is how to check your controller manager version, list who holds the permissions, and what to do if you can't patch yet.
Read article →Argo CD is tier zero: hardening the repo-server after CVE-2026-113709
CVE-2026-113709 let a Git repository, or any user who could read an Application, run commands in the Argo CD repo-server when Kustomize Helm rendering was enabled. Patching closes that hole, but the repo-server still executes tooling on input other people write. Here is how to check your exposure and which controls limit the next bug of this kind.
Read article →Why your RBAC bindings are probably too permissive — and how to audit them in an hour
RBAC sprawl accumulates invisibly. This one-hour audit methodology helps you find cluster-admin bindings, wildcards, and default service account permissions that shouldn't exist.
Read article →Compliance3 articles
CIS Kubernetes Benchmark with kube-bench: which failures matter and which are noise
A kube-bench run prints dozens of FAIL and WARN lines with no ranking, and some of the most important checks are the manual ones that show up as warnings. This article covers running the scan per node role, why managed clusters need a platform-specific benchmark, how to triage the results, and how to keep the output and its exceptions as evidence.
Read article →The Cyberbeveiligingswet is in force: what the duty of care means for your cluster
The Dutch Cyberbeveiligingswet has applied since 15 August 2026, with no general transition period. This article maps the decree's duty-of-care articles to specific cluster controls and the evidence each one produces, and shows what the 24-hour and 72-hour reporting deadlines require from audit logging and detection.
Read article →The Cyber Resilience Act for teams that ship images, charts and operators
The Cyber Resilience Act regulates software placed on the EU market, not how you run clusters. This article helps teams that ship images, charts and operators work out whether they are a manufacturer, what the reporting duty in force since 11 September 2026 requires, and what to build before the main obligations apply on 11 December 2027.
Read article →Best practices5 articles
Minor version upgrades in clusters that can't stop
The upgrade procedure itself rarely causes the outage. A blocked drain, a webhook that fails closed, or a manifest using a removed API does. This article covers the version skew rules that fix the order of work, a pre-flight to run a week ahead, replacing versus upgrading nodes, and why a control plane rollback isn't a real option.
Read article →Leaving Kubernetes 1.34: check for cgroup v1 before your kubelets refuse to start
Kubernetes 1.34 is end of life, and from 1.35 the kubelet refuses to start on cgroup v1 nodes by default. Here is how to find those nodes before you upgrade, what changes for JVM, Node.js and Go workloads on cgroup v2, and why the failCgroupV1 override only buys you a release or two.
Read article →GitOps day two: what Flux and Argo CD don't tell you in the docs
Installing Flux or Argo CD is the short part. This article covers what comes after: who wins when the HPA and Git disagree, how pruning deletes things you meant to keep, ordering CRDs for a rebuild, what Git doesn't contain when the cluster is gone, and how to make an emergency change without fighting the controller.
Read article →PriorityClass and preemption: deciding who gets evicted first
Without PriorityClasses, every pod in your cluster has the same priority and a full cluster removes pods in an order nobody chose. This article covers what priority affects (scheduling order, preemption, kubelet eviction), what it doesn't (the kernel's OOM killer, drains), a four-class scheme to start from, and how to stop every team from picking the top class.
Read article →PodDisruptionBudgets: The Kubernetes feature everyone forgets until drain fails
PDBs protect your workloads during voluntary disruptions like node drains and cluster upgrades. Most teams discover them when a drain gets stuck—here's how to get them right before that happens.
Read article →Internals4 articles
Admission webhooks: how they fail, and when a ValidatingAdmissionPolicy is the safer choice
An admission webhook puts a network call to your own Deployment in the write path of the API server, and its configuration decides whether an outage of that Deployment blocks the cluster or silently skips the policy. This article covers how webhooks fail, the deadlock where a webhook blocks its own recovery, and which checks can move in-process with ValidatingAdmissionPolicy and MutatingAdmissionPolicy.
Read article →etcd: what it stores and why you should care
etcd holds the only copy of everything your cluster knows, and most engineers never look at it until it stops accepting writes. This article explains how Kubernetes lays out and versions its data there, why quorum dictates three or five members, what the storage quota and disk latency do to a control plane, and how backup and restore work in practice.
Read article →What happens between kubectl apply and a running pod
kubectl apply returns, and at that moment nothing is running: one object has been written to a database. This article follows a Deployment through every hand-over that comes next, from admission and the controllers to the scheduler, the kubelet, probes and EndpointSlices, with the place each stage can stall and the command that shows it.
Read article →How the Kubernetes scheduler actually picks a node
The scheduler is a two-phase machine: filter nodes that can't run the pod, score nodes that can, pick the highest scorer. Understanding this matters when pods end up in unexpected places.
Read article →Networking4 articles
What v1.37 starts removing: kube-proxy ipvs, kube-dns and static pod references
Kubernetes v1.37 puts dates on several networking removals: the plan is for kube-proxy's ipvs mode to be off by default in v1.40 and removed in v1.43, no new kube-dns packages are expected after v1.40, and static Pods can no longer reference Secrets or ConfigMaps at all. This guide shows how to find out what your clusters run, what changes when you move to nftables mode, and in which order to do the work.
Read article →Migrating off ingress-nginx: annotations, snippets and a safe cut-over
ingress-nginx was retired in March 2026, and November's CVE-2026-116472 is the first advisory to say plainly that no fix will come. This guide covers the migration itself: inventory your annotations, see what maps to Gateway API and what needs implementation-specific policy, use ingress2gateway for the first pass, and cut over through DNS with a rollback path. It also covers what to do on the clusters that cannot move yet.
Read article →CoreDNS: why your service discovery breaks and how to debug it
DNS failures in Kubernetes rarely announce themselves as DNS: they look like timeouts, slow requests or a NetworkPolicy that blocks too much. This guide follows one query from the pod's resolv.conf through the kube-dns Service to CoreDNS and its upstream, with a check for each hop, a symptom-to-cause table, and an explanation of what ndots:5 costs you.
Read article →The Kubernetes Gateway API: what it is and how it compares to Ingress
The Gateway API is the recommended way to route traffic into your cluster in 2026. This article explains what it is, why it is the evolution of Ingress, and how to think about migration — including the community Ingress-NGINX retirement that makes the decision urgent for some clusters.
Read article →Troubleshooting7 articles
ImagePullBackOff: registry auth, rate limits and typos
ImagePullBackOff means one node couldn't fetch one image, and the runtime's error message says why. A decision tree with seven branches, from tag typos and misplaced pull secrets to Docker Hub rate limits and architecture mismatches, with the node-side checks that separate a Kubernetes problem from a registry or network one.
Read article →Node NotReady: a decision tree
NotReady means one of two things: the kubelet reports a problem, or the control plane has stopped hearing from it. Starting from one kubectl describe node, this decision tree separates a dead machine, a stopped kubelet, a broken path to the API server, an expired certificate and a runtime or CNI fault. It also covers what happens to the pods in the meantime, and the documented ways to free a StatefulSet from a node that isn't coming back.
Read article →OOMKilled (exit code 137): leak or limit?
Exit code 137 means SIGKILL, and "OOM" covers three different mechanisms: a container hitting its own limit, the node running out of memory, and a kubelet eviction. How to tell them apart from the evidence, how to read a memory graph as leak or undersized limit, and why JVM, Go and Node.js defaults cause kills in applications that aren't leaking.
Read article →CrashLoopBackOff: a taxonomy of causes and how to identify them
CrashLoopBackOff is a state, not a cause: it says a container keeps stopping, never why. A four-step method using the last state, the exit code and the previous container's logs sorts a crash loop into one of seven categories, with kubectl debug for images that have no shell.
Read article →Permission Denied: Reading RBAC Errors and Fixing ServiceAccount Permissions
When Kubernetes returns a Forbidden error, the message already contains the full diagnosis. This article shows how to read RBAC errors precisely, confirm the ServiceAccount responsible, and grant the minimum permission needed to fix it — without reaching for cluster-admin.
Read article →How to read Kubernetes events without getting overwhelmed
Kubernetes events are one of the most underused diagnostic tools. This article gives you a systematic method for reading and filtering events—not an answer to one specific problem, but a repeatable process you can apply to any incident.
Read article →Pending pods: A decision tree for the five most common causes
When a pod is stuck in Pending, the cause is usually one of five things. This decision tree helps you diagnose the problem systematically, with kubectl commands at each step.
Read article →Workload design3 articles
Topology spread constraints vs. pod anti-affinity
Replicas only protect you when they sit on different nodes and in different zones, and the scheduler doesn't guarantee that by default. This article compares pod anti-affinity with topology spread constraints, shows where each one stops working, and gives two baseline configurations for zone and node spreading.
Read article →Graceful shutdown: why SIGTERM handling matters more than you think
Every rollout, scale-down and node drain stops pods that were working fine, and each stop can drop requests if the application ignores SIGTERM or exits before the cluster has stopped routing to it. This article walks through the termination sequence, the endpoint race and the preStop sleep that closes it, and how to size the grace period for services, workers and sidecars.
Read article →Health probes done right: liveness, readiness and startup
A liveness probe that fails for the wrong reason restarts healthy containers, and it can do so when the service is under the most load. This article covers what each probe does on failure, the mistakes to look for in your manifests, a baseline configuration, and when the right liveness probe is none at all.
Read article →