You enable the Piraeus HA controller, but no pod starts on any node. This happens when the LinstorCluster has a nodeSelector that deliberately no node carries – for example because the satellites run outside Kubernetes on the hosts.
Symptom
kubectl -n piraeus-datastore get ds NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE ha-controller 0 0 0 0 0 piraeus.io/managed-satellite=true 40s linstor-csi-node 3 3 3 3 3 <none> 24m
DESIRED 0 means Kubernetes finds no node the pod fits on. When a node fails, no emergency service steps in.
Diagnosis
The NODE SELECTOR column shows the label every pod of the DaemonSet requires. It is the nodeSelector that keeps the operator from starting its own satellites – and it applies to every component that isn't explicitly exempted.
kubectl -n piraeus-datastore get ds ha-controller
Causes
inheritedThe LinstorCluster nodeSelector applies to all components
For the CSI driver the exemption is already set; for the HA controller and the NFS server you have to add it yourself.
piraeus.io/managed-satellite: null
Fix
highAvailabilityController:
enabled: true
podTemplate:
spec:
nodeSelector:
piraeus.io/managed-satellite: null
kubectl -n piraeus-datastore get ds ha-controller
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
ha-controller 3 3 3 3 3 <none> 111s
Don't: Removing the LinstorCluster nodeSelector entirely. Then the operator starts its own satellites in Kubernetes – next to the ones on the hosts.
k0s and LINSTOR hands-on, day 21: enable the HA controller and measure a node failure with and without automation – 94 seconds instead of over 12 minutes.
Go to day 21 →
FAQ
What does the HA controller bring?
In the course, Grafana was ready again 94 seconds after a node failure with the HA controller; without it, only after over 12 minutes and a manual out-of-service taint.
Does this apply to the NFS server too?
Yes. linstor-csi-nfs-server also needs the nodeSelector exemption in its podTemplate, otherwise its DaemonSet also stays at DESIRED 0.