What problem does it solve? Setting up a highly available PostgreSQL database on Kubernetes involves complex operator installation, cluster configuration, connection management, and backup setup. This Skill provides tested manifests and commands to get a production-grade PostgreSQL cluster running with automated failover, without deep CloudNativePG expertise. ## Core Features & Use Cases - Operator Installation: Install the CloudNativePG operator via direct manifest, Helm, or namespace-scoped configuration for enhanced security. - Cluster Configurations: Ready-to-use YAML for development (single instance) and production (3-replica HA with tuned parameters, resource limits, and pod anti-affinity). - Connection & Secrets Management: Retrieve auto-generated connection secrets, use rw/ro service endpoints, and wire DATABASE_URL into application deployments. - Backup & Monitoring: Configure S3 backups with retention policies, scheduled backups, and Prometheus metrics via PodMonitor. - Use Case: You are deploying a FastAPI application on Kubernetes and need a highly available PostgreSQL backend. Use this Skill to install the operator, create a 3-instance cluster with S3 backups, and inject the connection URI into your app's deployment. ## Quick Start Ask the AI to deploy a production PostgreSQL cluster on Kubernetes using CloudNativePG with three replicas and S3 backups.