Runbook
Cluster unavailable
Symptoms
Section titled “Symptoms”- TalosCluster
Available=FalsewithKubernetesUnreachableorNodesNotReady.- pk-metal status
- The
AVAILABLEcolumn of the cluster. Exit status 2. - Alert
PkMetalClusterUnavailable, for 15 minutes. It fires only for a bootstrapped cluster. A cluster that the operator still builds does not page.
Impact
Section titled “Impact”With KubernetesUnreachable, nobody can change the workloads of the cluster. With NodesNotReady, the workloads of some nodes do not run.
Diagnose
Section titled “Diagnose”-
Read the reason of
Available.Terminal window kubectl get taloscluster prod -o jsonpath='{.status.conditions[?(@.type=="Available")].reason}{"\n"}' -
Read the etcd state of the cluster. The
ETCDcolumn of pk-metal status shows it.Terminal window pk-metal status
| Reason | ETCD |
Go to |
|---|---|---|
KubernetesUnreachable |
EtcdUnavailable |
etcd unhealthy or quorum lost. etcd is the cause. |
KubernetesUnreachable |
EtcdDataLost |
Bootstrap refused |
KubernetesUnreachable |
EtcdRunning |
The API server or the endpoint is the cause. Check the control planes in Node not ready. |
NodesNotReady |
any | Node not ready. The message names the nodes. |
Verify
Section titled “Verify”kubectl get taloscluster prod shows Available=True. The alert resolves.