Skip to content

Cilium "Cluster health: 1/3 reachable": one node is an island

Ciliumtested on Cilium v1.20.5

cilium-health checks every node through the tunnel. If a node only reaches itself, its pods are cut off from the rest of the cluster – including CoreDNS. The Cilium pods are Running all the same.

Symptom

k exec c2 -- curl -sS -m3 echo/hostname; echo " rc=$?"
cilium status | grep -E 'Cilium:|Hubble Relay:'
curl: (28) Resolving timed out after 3002 milliseconds
command terminated with exit code 28
 rc=28
 /¯¯\__/¯¯\    Cilium:             1 errors
 \__/¯¯\__/    Hubble Relay:       2 errors

Pods on the affected node can't resolve names and can't reach pods on other nodes. All Cilium pods are Running.

Diagnosis

Query the health status in the agent of every node.

for n in worker1 worker2; do
  CP=$(k -n kube-system get pod -l k8s-app=cilium \
    --field-selector spec.nodeName=$n -o name)
  k -n kube-system exec $CP -c cilium-agent -- cilium-dbg status \
    | grep 'Cluster health'
done
Cluster health:          3/4 reachable   (2026-11-19T02:29:20Z)   ...
Cluster health:          1/3 reachable   (2026-11-19T02:27:57Z)   ...

Causes

Tunnel portCiliumNodeConfig overrides values for one node

A CiliumNodeConfig overrides values of the ConfigMap for selected nodes. Here worker2 encapsulates VXLAN on UDP 8473, all others on 8472 – the packets arrive, but nobody unpacks them.

k -n kube-system logs $CP -c config | grep 'Got configuration' | grep -o 'lenC.*'
k get ciliumnodeconfigs -A
lenConfigPairs=188 configSource="{Kind:config-map Namespace:kube-system Name:cil...
lenConfigPairs=1 configSource="{Kind:cilium-node-config Namespace:kube-system ...
NAMESPACE     NAME             AGE
kube-system   worker2-tuning   50m

Invisiblecilium config view doesn't show the override

cilium config view only reads the ConfigMap. Which sources the agent really read is in the log of the config init container. The actual port shows on the node's VXLAN interface.

ssh [email protected] 'ip -d link show cilium_vxlan 2>/dev/null' \
  | grep -o 'dstport [0-9]*'
dstport 8473

Fix

Delete the override and restart the agent on the node. After one to two minutes the other agents have registered the node again.
k -n kube-system delete ciliumnodeconfig worker2-tuning
k -n kube-system delete pod -l k8s-app=cilium --field-selector spec.nodeName=worker2
k -n kube-system rollout status ds/cilium
ssh [email protected] 'ip -d link show cilium_vxlan 2>/dev/null' \
  | grep -o 'dstport [0-9]*'
ciliumnodeconfig.cilium.io "worker2-tuning" deleted from kube-system namespace
daemon set "cilium" successfully rolled out
dstport 8472

Don't: Only restarting the pods or moving them to another node. The fault sits in the node's data path.

▶
Break it yourself and find it – free
Cilium hands-on, day 21: find and repair eight broken networks from tunnel port to BGP – against the clock.
Go to day 21 →

FAQ

How do I list all per-node overrides?

With k get ciliumnodeconfigs -A. They override the cilium-config ConfigMap for the selected nodes.

Related error patterns

More