2026-11-04: worker-1 NotReady five times in about 59 hours, each under memory (roll-up)¶
Kind: reference (incident report)
Severity: critical · Status: mitigated (each window recovered on its own; the memory squeeze waits on the owner's Talos patches #2543 and #2549, on #2407, and on placement #2676) · Resolved by: worker-1 recovered on its own each time; investigated by the operator agent (#2672, from #2644's findings) · Duration: five windows of 2–7 minutes, 2026-11-04 13:56 to 2026-11-07 01:14 UTC (see the table) · Taskbase task: #2672 (from #2644, Emmalia/Helloweekly)
Summary¶
worker-1 on hetzner-mgmt stopped reporting and went NotReady five times between 2026-11-04 13:56 and 2026-11-07 01:14 UTC (from the start of the first node-exporter gap to the end of the last). #2644 counted four, up to 11-06 23:13; the fifth, 11-07 01:09, came after it. Every window has the same shape: a container agent run or a CI job grew by 2–3 GiB in a few minutes. The kubelet's view of available memory fell below 2 GiB, the kernel thrashed (major faults up to 7333/s), node-exporter stopped answering, and most pods on the node were killed and restarted. Hetzner's host, the network and the disk are not the cause (CPU steal 0, no NIC errors, no reboot). The first window broke nothing downstream, because the platform's single-replica pods were then on worker-3. From 11-06 they were on worker-1, so each stall took Gitea's database down and froze part of Flux. This page sets the five windows side by side and says what would have stopped each one. Four of them have their own report with the full timeline.
Impact¶
- Services: Gitea
/api/healthzfailed in four of the five windows, for 1–4 minutes each (gitea-postgresql-0has been on worker-1 since 11-04 17:30, #2490). Flux Kustomizations were not Ready for 6, 10 and 24 minutes after the last three windows: CNPG's webhook was unreachable once, andsource-controllertwice.helloweekly(#2644) was one of the fourArtifactFailedroots on 11-06 at 23:18. Alertmanager has run on worker-1 since 11-06 and could not deliver alerts in the last four windows. Taskbase's databasetasks-prod-db-1is on worker-2 and was not affected. - Users: Gitea was unavailable for about 2, 1, 4 and 2 minutes. The 11-06 15:00 Renovate run lost one pod to
Authentication failure. The agent run inmiki-container-agentwas killed with its node several times (itsrunnercontainer wasOOMKilledat 15:12:53 on 11-06). - Data: none lost. The taint manager cancelled the pending evictions each time, so no database pod moved.
emiliero-db-1crash-recovered cleanly on 11-07 (see its report). - Duration: per window in the table below. All five recovered on their own within 2–7 minutes of the first missing scrape.
Timeline¶
All times UTC. "Kubelet view" is the kubelet's memory.available, replayed from node-exporter as on the memory eviction page. The values are the last sample before node-exporter's gap. Samples are 30 s apart. Prometheus queries over instance="10.0.0.20:9100" and node="worker-1".
| # | Day | No node-exporter samples | NotReady (kube-state-metrics; node events) |
Kubelet view, first < 2 GiB | MemAvailable min |
node_load1 max |
Major faults max | Grew on worker-1 (working set at the stall) | Downstream | Own report |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 11-04 | 13:56:30–13:58:30 | 13:58:00–13:59:00 | 13:56:00 (1.95) | 1.13 GiB | 109 | 318/s | CI runner gitea-act-runner-7b74df78c5-28rz6 4.14 GiB (dind limit then 6144Mi); agent 0.16 GiB |
none recorded: Gitea probe stayed 1. 23 pods restarted, among them cert-manager, Cilium, the Barman Cloud plugin, botyard-prod-db-1, Mattermost and Harbor |
none before this one |
| 2 | 11-06 | 14:58:30–15:01:00 | 14:59:30–15:01:00; 14:58:58–15:00:36 | 14:57:30 (1.15) | 0.41 GiB | 124 | 7333/s | agent miki-container-agent-85765999d-8mtcc 3.78 GiB (4.0 max); CI runner 1.05 GiB |
Gitea down 14:58:30–15:00:45; Renovate pod Authentication failure |
2026-11-06 stalls |
| 3 | 11-06 | 15:45:00–15:48:30 | 15:47:00–15:48:30; Ready 15:48:19 | 15:44:30 (1.85) | 0.86 GiB | 120 | 465/s | CI runner gitea-act-runner-56b45b58f-rwcwb 2.80 GiB; agent 1.35 GiB |
Gitea down 15:47:30–15:48:15; mattermost not Ready 15:45:55–15:52:08 (CNPG webhook) |
2026-11-06 stalls |
| 4 | 11-06 | 23:13:30–23:18:30 | 23:14:00–23:18:30; 23:13:54–23:18:17 | 23:12:00 (1.79) | 0.82 GiB | 131 | 799/s | agent 3.87 GiB (4092 MiB peak, its limit); CI runner 0.60 GiB | Gitea /api/healthz failing 23:14–23:18; helloweekly (#2644), helloweekly-auth-proxy, platform-docs, taskbase-prod ArtifactFailed 23:18:33–23:28:22 |
2026-11-06 23:13 |
| 5 | 11-07 | 01:09:30–01:14:00 (one sample 01:12:30) | 01:10:30–01:12:00; 01:10:10–01:13:48 | 01:09:00 (1.75) | 0.86 GiB | 164 | 369/s | agent 1.94 GiB (3.69 max); CI runner 2.02 GiB (1.97 max before) | Gitea down 01:10:00–01:11:30 and 01:13:30; Flux frozen 01:15:08–01:39:08; emiliero-db-1 down ~3.5 min |
2026-11-07 |
Pressure stall information (node_pressure_memory_stalled_seconds_total, the "full" share per second) shows little: at most 0.24 (window 2) and 0.02–0.04 in the others. The kernel's own count is only available outside the gap, and the gap is where the stall is. The major-fault rate and the gap itself are the better signal, as on the eviction page.
What else ran on worker-1. From window 2 on, worker-1 held the single replicas of source-controller, helm-controller, Alertmanager and gitea-postgresql-0, and until #2661 also the Barman Cloud plugin and, in windows 2–3, the CNPG operator. On 11-04 at 13:55 all of these except the plugin were on worker-3 (kube_pod_info). They moved to worker-1 after worker-3's own stall at 17:17 that day (#2490). That is why window 1 broke nothing downstream and the later four broke Gitea and Flux. Besides those, the CNPG instances terraform-state-db-1, emiliero-db-1 and botyard-prod-db-1 run on worker-1. At 08:40 on 11-07, worker-1 had 5764Mi (79 %) of its memory requested and limits at 230 %.
Root cause¶
One mechanism, five times. worker-1 (cx33, 7.08 GiB allocatable) runs both a container agent (miki-container-agent: runner request 1Gi and limit 4Gi at the time, priority 0) and a CI runner pod (dind request 2Gi, limit 4608Mi since #2498, priority ci-runner −1000). Each can legitimately grow to its limit. Together with the ~4 GiB of other pods and system memory, that does not fit. In every window one of them, sometimes both, grew 2–3 GiB within 3–5 minutes. The kubelet only evicts at its default hard threshold of 100Mi and so never acted. The kernel thrashed on page cache: disk reads rose with the faults, to 722 MB/s in window 2, and then fell back. The node stopped answering before any OOM kill. node_vmstat_oom_kill rose only in window 3 (41 → 45) and after window 2 (29 → 41, when the agent's container hit its own limit). The pods were then SIGKILLed with exit 137 by a component that is still unconfirmed (#2546). It is the same squeeze as worker-3's stall on 11-04 (#2490) and the stalls the memory eviction page sized its threshold on. Window 1 is the worker-1 stall in that page's table.
Not something else. In all five windows CPU steal was 0, so the Hetzner host was not short of CPU. NIC receive errors were 0, iowait stayed at or below 0.23 of a core, and node_boot_time_seconds did not change, so the node did not reboot. The disk reads followed the major faults, not the other way round. The 11-04 15:02 Hetzner router fault (report) was a different event that every target shared, and it is not one of these windows. No follow-up for the host, network or disk was raised.
Not the commits. The revisions in the post-merge failure tasks (#2644 main@3abf2db1, #2634, #2643, #2652) were the source's HEAD at the time. Each report shows they changed nothing in the failing Kustomization.
Would the planned fixes have prevented them?¶
Kubelet soft eviction (#2543: memory.available 2Gi, grace 10 s, evictionMaxPodGracePeriod 10). An eviction needs ~10–20 s to act and up to 10 s for the pod to stop, so a lead of 30 s between the first sample under 2 GiB and the first missing sample is just enough (Replay of soft thresholds). Which pod goes first follows the kubelet's ranking: over its request first, then lowest priority, then furthest over. The runner pod requests 2176Mi (2.125 GiB), the agent 1056Mi.
| # | Lead at 2 GiB | Pod the kubelet would evict | Prevented? |
|---|---|---|---|
| 1 | 30 s, one sample (1.95), falling 0.5 GiB per 30 s | CI runner (4.14 GiB, over its request, −1000) | Probably not. At best just in time. The eviction page's replay counts this stall as 0 s lead and leaves it to Talos's OOMConfig (#2549) |
| 2 | 60 s, two samples (1.15, 1.46) | agent (3.78 GiB against 1.03; the runner was under its request) | Likely, at the cost of the agent run, which was OOMKilled 15 min later anyway |
| 3 | 30 s, one sample (1.85) | CI runner (2.80 GiB, over 2.125, −1000), freeing ~2.8 GiB and both its jobs | Likely, narrowly |
| 4 | 90 s, three samples (1.79, 1.54, 1.54) | agent (3.87 GiB) | Yes, most likely: the node kept answering at ~1.5 GiB for 90 s |
| 5 | 30 s, one sample (1.75) | agent (1.94 GiB; the runner at 2.02 GiB was just under its request) | Uncertain: it frees ~1.9 GiB just in time. A second eviction, the runner, may have been needed |
So soft eviction would most likely have turned windows 2–4 into one failed agent run or CI job each. Window 5 is uncertain, and window 1 probably not. Each eviction ends the work in that pod, as the eviction page and #2503 accept.
CI runner limits of decision #2503 (dind 4608Mi, each runner container 768Mi, two jobs per pod). They would not have prevented any of the five. In window 1, before #2498 set them, the runner pod reached 4.14 GiB, below the 4608Mi it would have had. In windows 3 and 5 the runner pod was at 2.0–2.8 GiB, and in windows 2 and 4 the agent grew, not the runner. The limits protect the node from one runner pod above 4.5 GiB, but a node that also carries an agent stalls well below that. The eviction page and CI Runners already say this ("Every setting that keeps four jobs at once without new capacity relies on the other pods on the node using less than they request").
The other open fixes. Talos's OOMConfig (#2549) kills the pod that grew, and is the net for a fall too fast for the kubelet, as in window 1. A request at the agents' peak (#2407) would keep the scheduler from placing a 4 GiB agent next to a 2 GiB runner on a 7 GiB node. Keeping the single-replica platform pods off the node with the agent and the runner (#2676, new) would not stop a stall, but would keep it from taking Gitea and Flux with it, as in window 1.
What the agent did¶
The operator agent of #2672 made no write to the cluster. Every step was read-only, and nothing was changed in Git apart from this report.
- Read the reports of windows 2–5, the 2026-11-04 worker-3 report (#2490), the memory eviction page (#2502) and decision #2503 in CI Runners. #2644 is in another organization, and Taskbase refused to read it (
forbidden: no access to this organization). Its findings come from #2672's description. kubectl get nodes -o wide: all four nodesReadyat 08:36.kubectl -n monitoring port-forward svc/monitoring-kube-prometheus-prometheus 9090. Prometheus keeps 30 days, with data from 2026-10-28.- Prometheus, 10-28 00:00 to 11-07 08:40:
kube_node_status_condition{node="worker-1",condition="Ready",status="true"}gave the fiveNotReadywindows and no others.up{job="node-exporter",instance="10.0.0.20:9100"}gave the scrape gaps. Gaps that every target shared (11-04 15:04, 15:13, 18:44, 22:47) are Prometheus' own and are left out. - Prometheus per window:
node_memory_MemAvailable_bytes, the kubelet-view expression,node_load1,rate(node_pressure_memory_stalled_seconds_total[1m]),rate(node_pressure_io_stalled_seconds_total[1m]),rate(node_vmstat_pgmajfault[1m]), CPUstealandiowait,node_disk_read_bytes_total,node_network_receive_errs_total,node_vmstat_oom_killandnode_boot_time_seconds. Also the top pods on worker-1 bycontainer_memory_working_set_bytes, the runner's and agent's requests and limits (kube_pod_container_resource_*,kube_pod_init_container_resource_limits), andprobe_successof Gitea for window 1. kube_pod_infoat 11-04 13:55, 11-06 14:55 and 23:10 for where the single-replica pods ran.increase(kube_pod_container_status_restarts_total[8m])at 11-04 14:03 for the pods restarted in window 1.kubectl get pods -A,kubectl describe node worker-1, and the runner and agent pod specs at 08:40 on 11-07. worker-1 still runssource-controller,helm-controller,gitea-postgresql-0and Alertmanager next tomiki-container-agent(priority 0) andgitea-act-runner-56b45b58f-rwcwb(priority −1000).- Taskbase: read #2407, #2543, #2546, #2549, #2554 and #2557 (open), and #2502, #2503, #2547 and #2661 (done). Created #2676 for the placement (below).
Resolution and verification¶
Checked at 08:36–08:40 UTC on 11-07, read-only:
kubectl get nodes: all four nodesReady.kube_node_status_conditionfor worker-1: noNotReadysample after 01:12:00 on 11-07.- worker-1 is unchanged: the same agent and runner pods, 79 % of memory requested, limits at 230 %. Until #2543, #2549 and #2407 are done, it can stall again the same way.
Follow-ups¶
-
2676 (new,
operator): keep the single-replica platform pods (source-controller,helm-controller, Gitea's database, Alertmanager) off the node that runs a container agent and the CI runner.¶ -
2543 (owner): apply the kubelet soft-eviction patch to the hetzner-mgmt workers. It would most likely have caught windows 2–4.¶
-
2549 (owner): apply the
OOMConfig, the net for a fall as fast as window 1.¶ -
2407: raise the container agents' memory request to their peak use (3.7–4.0 GiB here against 1Gi).¶
-
2546 (owner): read the Talos OOM action log, which would also say what killed worker-1's pods.¶
-
2554: the 7-day measurement after #2543, which revisits #2503.¶
-
2644 (Emmalia/Helloweekly): to be closed with a link to this report once it merges. This run cannot reach that organization, so a person or a run there closes it.¶
References¶
- Alert: none for window 1. For the others, the Flux error events and post-merge failure tasks in each report. Alertmanager ran on worker-1 in windows 2–5.
- Taskbase incident task: #2672. Source: #2644. Per-window tasks: #2634 (window 3), #2643, #2645 and #2646 (window 4), #2652–#2657 (window 5).
- Runs: the
operatorrun of #2672 (read-only) - Pull requests: the #2672 pull request (this report)
- Runbook sections: Admission webhook unreachable during a node disruption,
ArtifactFailed: source-controller unreachable during a node disruption, Pods SIGKILLed with their sandbox, no kernel OOM - Related incidents: 2026-11-04 worker-3 memory stall, 2026-11-04 worker-2 pods killed by Talos's OOM controller, 2026-10-28 worker-1 pods SIGKILLed (the node stayed
Readythen)
Open questions¶
- What killed worker-1's pods with exit 137 in each window: Talos's OOM controller, a
crirestart or the kubelet (#2546). - Whether window 1 raised any Flux failure. Its Flux events have expired, and no task or report for it was found. Gitea's probe stayed 1, and the Flux controllers were on worker-3.
- What the agent run and the CI jobs were doing in each window. The record has only the pods' memory.