Skip to content

hetzner-mgmt worker-1 capacity (2026-11)

Kind: reference (investigation, task #2402)

On 2026-11-03, harbor-database-0 on worker-1 failed its 1-second probes and was restarted mid-recovery. NodeHighMemoryUsage and NodeSystemSaturation were firing on the node. This page records what used worker-1, what was changed and what is left. Measurements come from Prometheus (cAdvisor and node-exporter), taken 2026-11-03 at about 12:00 UTC. The cluster has no metrics-server, so kubectl top does not work.

What the node looked like

Task text (morning) 12:00 UTC, after #2379
Memory requests / limits 79 % / 276 % 42 % / 168 %
CPU requests / limits — / 278 % 22 % / 151 %
  • CPU was the bottleneck, not memory. From 06:30 to 08:30 the node was up to 98 % busy, with node_load1 23 on 4 cores and CPU PSI waiting 0.9 s/s. Over 7 days, the node's p95 busy was 91 %. Memory available never went below 16.5 % (no swap), and memory and IO PSI stayed at or below 0.2.
  • The act runner was the largest user: up to 3 cores per pod, with job containers that peaked at 2.8 GiB. #2379 has since moved both runner pods to worker-2 and worker-3.
  • Renovate runs on worker-1 every hour with no requests or limits. Each run takes about one core for 15–25 minutes, and its memory is 1.4 GiB at the median, 1.5 GiB at p90 and 2.1 GiB at most (14 days, 268 runs). As BestEffort pods, the runs counted for nothing in the scheduler. In the incident window, three runs overlapped the act runner on the node.
  • About 0.9 cores were busy outside any pod at 07:40 (node 3.57 cores, pods 2.67): the kubelet, containerd and the system. It was 0.5 cores at 12:00.
  • The Harbor database itself is small: 137 MiB working set at most, CPU 26m p95, 52m 1-minute peak (88m during recovery). Its old request of 30m was below even its normal use.

The other workers are fuller than worker-1 by requests: worker-2 has 70 % CPU and 86 % memory requested, and worker-3 has 95 % and 90 %. Moving workloads off worker-1 would only move the pressure, and the next large request may not fit anywhere. The cluster is close to its size.

Changed in this pull request

Workload Change Why
harbor/harbor-database probes timeoutSeconds: 5, liveness failureThreshold: 6; CPU request 30m → 100m see Harbor
renovate/renovate (CronJob) requests 250m / 1536Mi, limits 1 CPU / 3Gi the scheduler counts each run, and a run cannot take more than one core from its neighbours

Renovate's memory request fits only on worker-1 today: worker-2 and worker-3 have less than 1 GiB unrequested. If worker-1 fills up, a run waits Pending until there is room, and concurrencyPolicy: Forbid skips the hourly runs in between.

Proposed, not changed here

Workload Request → limit Real use (7 d) Proposal
agent-runners/miki-container-agent, emilia-container-agent working 1Gi / idle 512Mi → 4Gi memory peak 3.9 GiB (miki), 1.9 GiB (emilia) Raise the working memory request to 2Gi, or run at most one container runner per node. A run near the 4Gi limit on a node that counts 1Gi for it is the largest uncounted memory on worker-1. Task #2407.
mattermost/mattermost 300Mi → 4Gi, CPU 100m → 2 266 MiB, CPU 5m p95 Lower the memory limit to 1Gi. This only shrinks the limit overcommit; usage is low. Task #2408.
Cluster 3 workers × 4 vCPU / 8 GB p95 busy 80–91 % on every worker Add a fourth worker or move to larger servers (cost: an owner decision, #2409).