k8s-cloudnative-pg-troubleshooting
Use when a CloudNativePG (CNPG) PostgreSQL Cluster in Kubernetes is not healthy: a Cluster stuck in "Setting up primary", "Creating a new replica" or "Waiting for the instances to become active", fewer ready instances than requested, an initdb or join pod that is Pending or in CreateContainerConfigError, PVCs that stay Pending, a bootstrap Secret that is missing, a replica that cannot be scheduled (pod anti-affinity, nodeSelector, taints), "Not enough disk space", failing WAL archiving or backups (ContinuousArchiving, LastBackupSucceeded False), a failover or switchover that does not finish, "Invalid cluster definition" or "Cluster is unrecoverable", and operator errors. Investigates with kubectl get, describe, events and logs, never reading Secrets, and proposes fixes. Reads first and asks before changing anything.
- License
- Apache-2.0
Pinned to revision 6919c56810a3, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/k8s-cloudnative-pg-troubleshooting/SKILL.md
- skills/k8s-cloudnative-pg-troubleshooting/.claude-plugin/plugin.json
Every link opens the file at its source, pinned to the revision this page describes.