Skip to content

2026-10-28: Five pods on worker-1 SIGKILLed, Gitea down for a minute, runners got "403 Access denied"

Kind: reference (incident report)

Severity: critical · Status: open (Gitea recovered on its own; the cause of the kills is not found yet, #2048) · Resolved by: the kubelet's restart of the pods; investigated by the operator agent · Duration: 1 min 9 s of Gitea down, 19:40:42–19:41:51 UTC (not detected by an alert; found by triage #2041 at about 20:09) · Taskbase task: #2043

Summary

At 19:40:42 UTC, five pods on worker-1 were SIGKILLed within two seconds, and their pod sandboxes were recreated: Gitea, the Gitea act runner, cilium-agent, cilium-envoy and the hcloud CSI node plugin. Gitea was down until 19:41:51. During that time the in-cluster runners' clones got 403 Access denied from the gateway's Envoy, not from Gitea, and agent-runner v0.5.30 was wrongly blamed and rolled back (#2040, platform#1012). For part of the outage, pods with an egress policy got this 403 while every other client got 503; at first both got 503. Why the gateway answered 403 is not established; the likely path is in the root cause. The cause of the kills is not established: the kernel OOM killer, memory pressure, a reboot, a kubelet restart and evictions are ruled out, and the node logs that would settle it need Talos access (#2048).

Impact

  • Services: Gitea (gitea.prod.skatzi.com, HTTP and SSH) was down from 19:40:42 to 19:41:51. Gitea Actions on worker-1 lost the jobs in progress, including eloro/webshop-platform CI task 19156 (e2e). Cilium on worker-1 restarted (agent 19:40:43–19:40:50, Envoy 19:40:43–19:40:44). The hcloud CSI node plugin on worker-1 was down from 19:40:44 to about 19:41:08, which delayed Gitea's volume and therefore its restart.
  • Users: the agent runs 4093, 4094 and 4095 (emilia, on worker-2) failed in prepare workspace with remote: Access denied between 19:41:09 and 19:41:30. The runners were then rolled back from v0.5.30 to v0.5.29 (platform#1012, merged 19:57), which was not needed: run 4099 cloned a private repository on the same v0.5.30 pod at 19:51:33.
  • Data: none. Gitea's volume was reattached and Gitea started cleanly.
  • Duration: 1 min 9 s of Gitea down. No alert fired: ProbeFailed needs a longer failure.

Timeline

All times UTC.

Time Event Source
19:38:45 platform#1003 is merged: the in-cluster runners move to agent-runner v0.5.30 0ebb8b6
19:39:58 The act runner on worker-1 starts eloro/webshop-platform CI task 19156 (e2e, Playwright with three service containers) in its dind act-runner-2 log
19:40:30–31 New runner pods: emilia-container-agent (v0.5.30) on worker-2, miki-container-agent-6579b458-w4cpw (v0.5.30) on worker-1 cilium-agent log, pod startTime
19:40:42 Gitea's log ends mid-traffic (last line 19:40:42.17); gitea, and dind, act-runner and act-runner-2 of the act runner, end with exit 137 lastState.terminated
19:40:43 cilium-agent (cilium-chnmj) and cilium-envoy-j2xsm end with exit 137. Envoy's last lines: StreamEndpoints gRPC config stream to xds-grpc-cilium closed … initial fetch timed out for type.googleapis.com/cilium.NetworkPolicy lastState.terminated, Envoy log
19:40:44 The three containers of kube-system-hcloud-csi-node-zct24 end with exit 137 lastState.terminated
19:40:44–50 Cilium's init containers run again, and cilium-agent starts at 19:40:50. The sandbox was recreated, not just the container initContainerStatuses
~19:40:45 Both blackbox probes of https://gitea.prod.skatzi.com get 503 probe_http_status_code
19:40:52 The restarted cilium-agent on worker-1 cannot restore Gitea's old endpoint (Unable to restore endpoint, ignoring) cilium-agent log
≤19:40:57 The EndpointSlice marks the Gitea pod's address 10.244.2.57 ready=false, serving=false kube_endpointslice_endpoints
19:40:59 Cilium removes the old Gitea endpoint (identity 106137) and creates the new one with a new security identity, 118811 (CiliumIdentity created 19:40:59). Identity 106137 no longer exists cilium-agent log, ciliumidentity
19:41:06–08 The act runner's and CSI node's containers start again state.running.startedAt
19:41:09–30 Runs 4093, 4094 and 4095 fail with remote: Access denied (403) #2040 comment
~19:41:15, ~19:41:45 The agent-runners probe (pod on worker-2, with an egress policy) gets 403; the monitoring probe for the same host from the same node gets 503 probe_http_status_code
19:41:29 Gitea's new sandbox is up with a new address, 10.244.2.237; its init containers run from 19:41:30 to 19:41:39 pod conditions, kube_pod_info
19:41:40 Gitea starts, and listens from 19:41:45 Gitea log
19:41:51 Gitea is Ready. Resolved: both probes get 200 from about 19:42:15 pod conditions, probe_http_status_code
19:51:33 Run 4099 clones on the same v0.5.30 runner pod #2040 comment
19:57 platform#1012 rolls the runners back to v0.5.29 (not needed) ef56589
~20:09 Triage #2041 links the 403 to the outage on worker-1, and this task is filed #2040 comment, #2043

Root cause

Why the pods on worker-1 were killed: not established

What the records show:

  • A sandbox-level kill, not a container restart. All five pods had every container killed, and their init containers ran again. Gitea's PodReadyToStartContainers changed at 19:41:29, and Gitea got a new IP. The kubelet does this only when it finds the pod sandbox dead. Each pod's containers ended with exit 137 and reason Error, not OOMKilled. The kills went in order over two seconds: Gitea and the act runner at 19:40:42, Cilium at 19:40:43, CSI at 19:40:44. The node's other running pods (33 sandboxes before, per kubelet_running_pods) were not touched, and the node stayed Ready.
  • Not the kernel OOM killer. node_vmstat_oom_kill on worker-1 was 28 before and after; it counts global and cgroup OOM kills. container_oom_events_total did not increase.
  • Not memory pressure. worker-1 had 4.4 GB of 8 GB available. Memory PSI "full" grew by 1.08 s between 19:40:36 and 19:41:06, after the kills started. The containers were small: Gitea 330 MB of its 2 GiB limit, dind 120 MB of 5 GiB, cilium-agent 236 MB. The load_avg of 13.9 was on worker-2, the runners' node; worker-1's was about 4.6.
  • Not a reboot, a kubelet restart or an eviction. node_boot_time_seconds is unchanged since 2026-07-02. The kubelet has run since 2026-10-21 16:03, and kubelet_evictions did not change.
  • Not a rollout. The last Helm revisions are Cilium rev 5 (10-25 14:12), Gitea rev 6 (10-25 22:12) and hcloud-csi rev 7, all from earlier days.
  • Not a Cilium crash that took the others with it. Gitea and the act runner died a second before cilium-agent, and a Cilium agent restart does not kill other pods' sandboxes.

What is left is something on the node that kills the sandbox's processes. Candidates: containerd's shims exiting (containerd then force-deletes the task), a cri service restart, or a userspace kill of the pod cgroups. Only the node's kernel log and the cri, kubelet and machined logs can tell these apart, and they need Talos access, which the operator agent does not have. #2048 asks the owner to collect them.

The same signature appeared once before. On 2026-10-20 at 07:00:21–26, the hcloud CSI controller and node pods on worker-2 were SIGKILLed with exit 137 and reason Error. Which other pods were hit then is not recorded.

The CI jobs outside the pod cgroup do not explain it either (checked 2026-10-31, #2256). At the time, the act runner's job containers ran in /docker at the node's cgroup root, outside the runner pod's requests and limits. On worker-1 at 19:40–19:41, the jobs used about 2.1–2.35 cores that no pod accounted for (node CPU minus the pods' CPU from cAdvisor). That same mechanism CPU-starved worker-3 on 2026-10-31 (#2254). But worker-1 was not starved: 2.6–2.8 of 4 cores were busy, node_load1 was 4.6–5.2, and CPU PSI waiting was 0.19–0.23 s/s. At 19:30 the node was busier (3.93 cores, load 13.2), and nothing was killed. On worker-3, the node was at 100 % with load 78, and cilium-agent failed its own probes before the restarts. Here, Gitea and the act runner died a second before Cilium, with no probe failures first. The node logs of #2048 are still needed.

Why the gateway answered 403 and not 503

The 403 with the body Access denied comes from Cilium's Envoy filter cilium.l7policy. On the gateway, for a client pod that has an egress policy, it checks that policy against the security identity of the upstream host that Envoy picked. It refuses with this 403 if the identity is not allowed (cilium/proxy cilium/l7policy.cc, the upstream branch of AccessFilter::decodeHeaders; the 2026-10-20 report has more). A client with no egress policy gets no such check.

The probes show it directly. Both probes run on worker-2 and go through the same Envoy to the same URL. At about 19:41:15 and 19:41:45, the agent-runners probe, whose pod has an egress policy, got 403. The monitoring probe, with no egress policy, got 503. Hubble counted six 403s in that window, all on worker-2. Gitea logged no request, and it would have answered an anonymous clone with 401.

At that time Gitea had no ready endpoint, so the only address Envoy could have used was the old pod's 10.244.2.57. Its Gitea identity was gone once Cilium on worker-1 restarted and cleaned up the dead endpoint, and agent-runner-platform allows only the Gitea pods' identity (toEndpoints). In 1.20.2, Cilium builds Envoy's endpoint list only from Active backends, falling back to Terminating. It maps a ready=false, serving=false, terminating=false endpoint to Maintenance (pkg/loadbalancer/reflectors/conversions.go) and leaves it out (computeLoadAssignments in pkg/ciliumenvoyconfig/controller.go). So when every backend is not ready, no ClusterLoadAssignment is built for the cluster at all, and Envoy may have kept its last one with 10.244.2.57. This is a hypothesis from the source code, not an observation: no Envoy /clusters dump or Hubble flow from the window exists, and it does not explain why both probes first got 503 at about 19:40:45 and the agent-runners probe got 403 only later, or how Envoy reached an upstream for the check to run (see Open questions).

Task #2055 added two measurements on 2026-10-29:

  • Gitea came back with a new identity, 118811, not only a new IP. This is the trigger of the 2026-10-20 incident, but it did not cause the lasting stale policy that incident had. The 403s on worker-2 were all in the window counted at 19:41:30 and 19:42:00 (hubble_http_responses_total{status="403"}: 6 and 4, each with a matching hubble_drop_total on worker-2), and none came after. The same runner pod cloned at 19:51:33 (run 4099). Envoy's copy of the runner's policy picked up 118811 without a pod replacement, as the upstream fix in Cilium 1.20.2 should ensure. Replacing the runner pod was not needed and would not have helped sooner. The policy is current now as well: for the v0.5.30 pod miki-container-agent-6579b458-btd49, the realized policy revision equals the agent's (14), and the Gitea selector of agent-runner-platform resolves to 118811.
  • The v0.5.30 sandbox reaches Gitea. On miki-container-agent (v0.5.30, worker-1), both directly and inside the runner's sandbox (agent-runner sandbox-exec, Landlock, per-run HOME and TMPDIR), /api/healthz answers 200 from 116.202.177.24. A clone of a private repository with the runner's token in http.<gitea>.extraHeader through GIT_CONFIG_* gets 200 on info/refs and on both git-upload-pack requests (GIT_TRACE_CURL, server: envoy), and it completes. The pod has no proxy and no GIT_* variables. From emilia-container-agent (v0.5.29, worker-2), the same authenticated request to eloro/webshop-platform gets 200. An unauthenticated info/refs gets Gitea's 401 from both pods.

Whatever the exact path, the 403 came from the gateway during the outage and ended with it, so it was a symptom of the outage and not a regression of the runner. The ops runbook now says to rule out a backend outage first: a gateway 403 to the runners can show up while the backend is down, though not always.

What the agent did

All steps were read-only. The agent made no change to the cluster.

  1. Read #2043, the triage comment on #2040, and the 2026-10-20 incident report and runbook section on the gateway 403.
  2. kubectl get pods -A --field-selector spec.nodeName=worker-1 -o json (container lastState, init container statuses, pod conditions): five pods killed with exit 137 Error at 19:40:42–44, and their sandboxes recreated.
  3. kubectl logs -p of cilium-agent, cilium-envoy, gitea, hcloud-csi-driver, dind and act-runner-2: no shutdown messages. The last activity was normal traffic, and dind was running CI task 19156.
  4. helm history of cilium, gitea, and flux get hr -A: no release at that time.
  5. Prometheus (port-forward to prometheus-operated, queries only): node_vmstat_oom_kill, container_oom_events_total, node_memory_MemAvailable_bytes, node_pressure_memory_*, node_load1, node_boot_time_seconds, kubelet process_start_time_seconds, kubelet_evictions, kubelet_runtime_operations_total, kubelet_running_containers, container_memory_working_set_bytes, kube_pod_info, kube_pod_status_ready, kube_endpointslice_endpoints, probe_http_status_code, hubble_http_responses_total, hubble_drop_total, ALERTS. The results are in the timeline and root cause above. The port-forward was stopped afterwards.
  6. kubectl get --raw /api/v1/nodes/worker-1/proxy/logs/: it lists only containers/ and pods/, so it gives no kernel or service logs. There is no Talos API access from the ops runner, and there is no Loki.
  7. Read the Gitea HTTPRoute backends, the gitea-http Service and the gateway's CiliumEnvoyConfig: the Gitea cluster is EDS, with service gitea/gitea-http:3000.
  8. Read Cilium v1.20.2 (pkg/ciliumenvoyconfig, pkg/loadbalancer) and cilium/proxy (cilium/l7policy.cc) to find the 403 path.
  9. Created #2048 for the owner: collect worker-1's kernel and Talos service logs.
  10. This pull request: this report, its row in the index, and the ops runbook note that a gateway 403 can be a symptom of a backend outage.

Task #2055 (2026-10-29, operator agent on agent-runner 0.5.31) added these measurements. They were read-only, apart from test clones into the runner pod's /tmp, which were removed afterwards:

  1. kubectl -n agent-runners exec into miki-container-agent-6579b458-btd49 (v0.5.30, paused in Taskbase): names of the proxy and GIT_* variables (there were none), curl to /api/healthz (200), and an unauthenticated info/refs (401).
  2. In the same pod, a clone of miki-research/sutte-projektet (private) with the runner's token as extraHeader and GIT_TRACE_CURL=1: 200 on all requests. Then the same clone inside agent-runner sandbox-exec --home … --tmp … --rw <workspace> --ro /usr --ro /bin --ro /lib --ro /etc (plus /dev/null and /dev/urandom, which the hand-built sandbox needs): 200, and the clone completed. Miki's account cannot read eloro/webshop-platform; Gitea answered 404, not 403.
  3. From emilia-container-agent-76864d6744-jbxsc (v0.5.29): authenticated git ls-remote of eloro/webshop-platform, 200.
  4. cilium-agent logs of worker-1 (current container) and worker-2: the Gitea endpoint's identity changed from 106137 to 118811 at 19:40:59. Emilia's v0.5.30 pod (emilia-container-agent-6c946bd58-4nb9h, worker-2) kept the runners' identity 112386.
  5. cilium-dbg endpoint get, cilium-dbg policy get and cilium-dbg policy selectors for Miki's endpoint 647: realized revision 14 equals the agent's, and the Gitea selector resolves to 118811.
  6. Prometheus: hubble_http_responses_total{status="403"} and hubble_drop_total by node, from 19:39 to now: the 403s are only in the 19:41 window on worker-2, and node_vmstat_oom_kill did not increase.

Resolution and verification

Gitea recovered without intervention: Ready at 19:41:51, and both probes got 200 from about 19:42:15. At 20:20 all five pods on worker-1 were Running, with their last restart 40 minutes earlier, and flux get kustomizations -A and flux get hr -A listed nothing that was not Ready. The cause of the kills stays open until #2048 is done.

Follow-ups

  • 2048 — the owner collects talosctl dmesg and the cri, kubelet and machined logs of worker-1 for 19:40:30–19:41:10, and decides on shipping node logs off-node if they have rotated.

  • The runner's retry of a transient clone failure, and moving the in-cluster runners back to v0.5.30, are the other follow-ups of triage #2041.

References

  • Alert: none fired (ProbeFailed needs a longer failure). NodeHighMemoryUsage was firing at the time, for control-plane-1, and is unrelated.
  • Taskbase incident task: #2043; triage #2041; the wrongly blamed task #2040; measured on v0.5.30 in #2055
  • Runs: 4093, 4094, 4095 (failed clones), 4099 (the clone on v0.5.30 that worked)
  • Pull requests: platform#1003 (runners to v0.5.30), platform#1012 (rollback to v0.5.29, not needed)
  • Runbook sections: Runner pods get "403 Access denied" from the gateway

Open questions

  • What killed the sandboxes on worker-1, and on worker-2 on 2026-10-20? This needs the node logs (#2048).
  • Did Envoy keep 10.244.2.57 in the Gitea cluster while no endpoint was ready, how did the upstream connection the 403 check needs get established, and why did the agent-runners probe get 503 at first and 403 only later? No Envoy /clusters dump or Hubble flow from that minute was recorded.
  • Why did Gitea's pod get a new identity rather than reuse 106137? Its labels did not change, and 106137 was in use until the kill. The identity labels also include the gitea namespace's labels. A namespace label added after 10-25 08:27 would explain it, but 106137 has been deleted, so its labels can no longer be compared.
  • The kills began 12 s after the v0.5.30 runner pod miki-container-agent-6579b458-w4cpw started on worker-1. The runner pods are unprivileged (no hostPID, all capabilities dropped), so a direct link is unlikely, but the node logs should settle it.