Runbook
Credentials not renewed
Symptoms
Section titled “Symptoms”- TalosCluster
status.credentialsExpireAtcomes near, and does not move forward.- Alert
PkMetalCredentialsExpiring: it has less than one sixth of its lifetime.
Impact
Section titled “Impact”When the credential expires, people and tools that use the published kubeconfig or talosconfig cannot connect. The cluster continues to run.
Diagnose
Section titled “Diagnose”The operator mints a new credential when it has one third of its lifetime. At one sixth, the renewal is late. See Credentials.
-
Read the expiry and the conditions of the cluster.
Terminal window kubectl describe taloscluster prod -
Read the manager log for the cluster.
Terminal window kubectl -n pk-metal logs deploy/pk-metal-manager | grep prod
| Cause | Fix |
|---|---|
| The manager does not run | See Management cluster lost. |
SecretsUnavailable: the secrets bundle Secret is missing |
Apply the Secret from git again. |
| The log shows that a Secret write failed | Check the manager role in the credentials namespace. |
Verify
Section titled “Verify”status.credentialsExpireAt moves forward. The alert resolves.