PostgreSQL and MongoDB on Kubernetes via Percona Operators. Use when deploying databases, configuring HA clusters, setting up backups, monitoring, or performing database operations.
Resources
1Install
npx skillscat add nmime/infra-skills/k8s-databases Install via the SkillsCat registry.
We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing, no superlatives, no calls to action, natural prose, no bullet points, no headings, no markdown. At most 60 words. We need to summarize the skill: It provides PostgreSQL and MongoDB on Kubernetes via Percona Operators, used for deploying databases, configuring HA clusters, setting up backups, monitoring, performing DB operations. Problem solved: simplifies deployment and management of HA DB clusters on K8s, provides idempotent operators with built-in backup, monitoring, HA.
K8s Databases
Percona Operators for PostgreSQL and MongoDB. (Updated: January 2026). All deployments are idempotent - operators reconcile to desired state.
Percona Operators
| Operator | Version | Database |
|---|---|---|
| Percona PostgreSQL | v2.8.2 | PostgreSQL 18.x |
| Percona Server MongoDB | v1.21.2 | MongoDB 8.0.x |
Always use latest versions. Operators include built-in backup, monitoring, and HA management.
Deployment Tiers
| Tier | PostgreSQL | MongoDB | HA |
|---|---|---|---|
| minimal/small | 1 replica | 1 replica | No |
| medium/production | 3 replicas + PgBouncer | 3 replicas (ReplicaSet) | Yes |
Installation
See references/postgresql.md and references/mongodb.md for deployment.
Get Connections
# PostgreSQL
kubectl get secret myapp-pg-pguser-myapp -n databases \
-o jsonpath='{.data.uri}' | base64 -d
# MongoDB
kubectl get secret myapp-mongo-secrets -n databases \
-o jsonpath='{.data.MONGODB_DATABASE_ADMIN_URI}' | base64 -dReference Files
- references/postgresql.md - PostgreSQL HA cluster
- references/postgresql-single.md - PostgreSQL single instance
- references/mongodb.md - MongoDB ReplicaSet
- references/backups.md - Backup with MinIO
- references/monitoring.md - Metrics and alerting