← All posts

Absence is an error message, filed one floor up

An empty cyan wireframe cube under a single cold spotlight on a dark circuit-board floor; on the mezzanine above, a sealed magenta-lit panel sheds falling embers that never reach the cube.

This is my homelab: single-node Kubernetes clusters on Talos, delivered from git by Argo CD, one operator. Nothing here describes an employer's systems. Both incidents and their dates come from my own notes and commits. Where I say what Kubernetes or Argo CD does, that is their documentation or their source, with the version named where it matters.

For at least nine hours on 1 July 2026, a DaemonSet on one of my clusters had no pods and raised no alarm, and the reason was on record for every one of those hours. No pod crashed, because no pod existed, and Argo CD reported the application as Progressing, which is what it says about a rollout that is merely slow.

Every reflex I own is a spotlight aimed at the floor where a pod should stand. Describe the pod: there is no pod. Read its logs: no container ever wrote a line. Look for Pending, a crash loop, a climbing restart count; each is a condition of a pod, and the light lands on an empty outline however long I hold it there. Even six days of silence had a running container to light.

The reason was upstairs, glowing on the mezzanine where the asking happened: a FailedCreate event recorded against the DaemonSet from the first attempt, its count climbing while the controller kept asking, and not one ember of it reaching the floor I was lighting.

A refused pod is never created, so its refusal is filed as a FailedCreate event on the DaemonSet or Job one level up, above the empty floor that describe, logs and restart counts light

Read the object that asked

Pod Security Admission enforces on pods, never on the workloads that ask for them. Its warn and audit modes do read the DaemonSet, but a warning goes back to whoever sent the apply, and that was Argo CD. So the DaemonSet was accepted, and every pod it asked for was refused. The namespace was labelled baseline, which forbids hostPath volumes outright, and this hardware-discovery worker's pod template mounts seven of them to read the host. It also asks for non-root, every capability dropped, no privilege escalation and a read-only root filesystem, and none of that counted for admission. The rule is about the volume, not the container.

The controller records each refusal against the DaemonSet or Job it works for, and two reads find one without knowing a single name, the first for DaemonSets alone:

kubectl get daemonsets -A
# DESIRED above CURRENT for longer than a rollout takes: that many nodes lack the pod, and its events say why
kubectl get events -A --field-selector reason=FailedCreate --sort-by=.lastTimestamp
# refusals recorded on whichever controller asked (DaemonSet, ReplicaSet, Job and others); empty means none within the event TTL, an hour by default

The fix was one line in the Argo CD application, and the line it replaced had written the mistake down as its reason:

 syncPolicy:
   managedNamespaceMetadata:
     labels:
-      pod-security.kubernetes.io/enforce: baseline   # worker reads host /sys (no privileged needs)
+      pod-security.kubernetes.io/enforce: privileged   # worker needs hostPath
   syncOptions:
     - CreateNamespace=true   # without it, Argo CD ignores managedNamespaceMetadata

privileged admits a hostPath by lifting every restriction Pod Security Admission enforces, for every pod in the namespace, the discovery tool's two other components included. That is the documented kind of exception from workload least privilege, and from here on only the chart keeps the worker unprivileged. Until the fix, the node went without the labels the worker exists to write, and the component that keys off those labels had none to key off.

Give the empty state a deadline

A Deployment would not have stayed Progressing that long. After progressDeadlineSeconds, 600 by default, its Progressing condition turns False with reason ProgressDeadlineExceeded, and Argo CD marks it Degraded. A DaemonSet has no deadline field, and Argo CD's health check for one has two answers, Progressing and Healthy, in the v3.4.3 source that ran on 1 July and still in v3.5.3. Mine could only ever read Progressing; its deadline has to come from outside. The first one I would add sits at the top of the stairs: an alert on how long an application has reported Progressing, which covers every workload whose health Argo CD assesses and needs no series from the cluster it deploys to.

In September 2026, testing a daily search job for my download stack, I met the same silence in another shape: the Job named a ServiceAccount that did not exist. Admission refuses any pod whose ServiceAccount is missing, so the Job sat at Running, 0/1 completions, with no pod, and only its describe output said why: a FailedCreate event saying the service account was not found. No backoff count ever moved, and my notes record that without a deadline it stays Running forever. With overlapping runs forbidden, one scheduled run stuck that way would block every later one. The manifest shipped with a deadline:

jobTemplate:
  spec:
    backoffLimit: 1               # counts failed pods; a pod that is never created never fails
    activeDeadlineSeconds: 1800   # Job level: the pod-level field of the same name never starts counting for a pod that never exists

Kubernetes documents that this deadline "applies to the duration of the job, no matter how many Pods are created", and zero is a number of pods. Thirty minutes in, the Job is Failed with reason DeadlineExceeded, a name an alert rule can match. Without the deadline, even kube-prometheus-stack's rule for unfinished Jobs stays quiet, because it only times Jobs with an active pod. The name still has to reach the Prometheus evaluating the rule, which is the test in The alert that could never fire.

Nothing is late until a clock says so.

Hang the clock upstairs

Every observability tool I run inspects things that exist: pods, processes, log lines, series. A refusal at creation produces none of them. Where something keeps asking, as a controller does, the refusal is written down one floor up; when the floor shows only an outline, turn the light upstairs. Where nothing asks, as with a backup whose schedule never fired, there is not even that record. Either way the deadline belongs upstairs, on something that exists whether or not the work does: the Job rather than its pod, the count a controller was asked for, the age of the last success, blind as that is to a job that has never succeeded. A deadline on the work never starts for work that never begins.

The floor only ever shows what was allowed to exist. Read the floor above it.

From the lab: the label fix landed on 1 July 2026, and the search Job has carried its 1800-second deadline since 16 September.

Read next