NodeEphemeralStorageLow¶
Severity: warning. Fires when a node's /var filesystem has had less than 25 % free for 10 minutes. On Talos /var holds the container images, container layers, logs and emptyDir volumes, the node's ephemeral storage. At 15 % free the kubelet sets DiskPressure and evicts pods (see PodEvicted), largest use over request first; the Gitea CI runners were evicted so on 2026-10-30 (#2282).
Labels: nodename, instance. component is node.
Read-only checks¶
# Allocatable ephemeral storage and the DiskPressure condition
kubectl --context <context> get nodes -o custom-columns=NAME:.metadata.name,ALLOC:.status.allocatable.ephemeral-storage,DISK:'.status.conditions[?(@.type=="DiskPressure")].status'
# What uses it: the node, its image filesystem and the largest pods
kubectl --context <context> get --raw /api/v1/nodes/<nodename>/proxy/stats/summary \
| jq -r '"node used \(.node.fs.usedBytes) of \(.node.fs.capacityBytes), images \(.node.runtime.imageFs.usedBytes)",
(.pods[] | select(."ephemeral-storage".usedBytes > 1e9) | "\(.podRef.namespace)/\(.podRef.name) \(."ephemeral-storage".usedBytes)")'
# The pods on the node with their ephemeral-storage requests
kubectl --context <context> get pods -A --field-selector spec.nodeName=<nodename> \
-o custom-columns=POD:.metadata.name,NS:.metadata.namespace,REQ:'.spec.containers[*].resources.requests.ephemeral-storage'
In Prometheus, node_filesystem_avail_bytes{mountpoint="/var"} over the last day shows whether it fills steadily (a pod that writes without bound) or jumped (one large image or job).
Compare the node's runtime.imageFs with its pods. When the image filesystem holds most of /var and no pod is over its request, the cause is the images the kubelet keeps: on hetzner-mgmt it removes unused images only from 85 % used (imageGCHighThresholdPercent in /api/v1/nodes/<nodename>/proxy/configz), so old Renovate and Mattermost versions stay. The fix is in the workers' Talos patch, which lowers it to 60 % (worker image garbage collection); a person applies it with talosctl (#2413), as no agent runner has talosctl. Check whether it is applied before anything else: configz shows imageGCHighThresholdPercent: 60 once it is. On 2026-11-19 worker-2 held 35.5 GiB of images plus a 16.8 GiB CI runner pod (incident report).
Roll forward¶
Find the pod that grows. Bound what it writes and give it an ephemeral-storage request and limit, in a pull request to its component, as in PodEvicted. For the CI runners, check that dind's trim runs (kubectl --context <context> -n gitea logs <pod> -c dind | grep -E 'Pruned|Removed') and see CI Runners. Unused images are garbage-collected by the kubelet from 85 % disk use on its own.
Do not delete pods, PVCs or images by hand to make room unless a pod is already failing; then log each command in the run report.
Roll back¶
The growth started with a new version of the pod that grows: revert the version bump in a pull request, as in the ops runbook's generic Flux freeze roll-back.