Installation¶
This guide covers different methods to install pgop in your Kubernetes cluster.
Prerequisites¶
- Kubernetes cluster (v1.24+)
kubectlconfigured to access your cluster- Cluster admin permissions
Install with Kustomize¶
Install CRDs¶
Deploy the Operator¶
Install from Source¶
Clone the Repository¶
Install CRDs¶
Run the Operator Locally (Development)¶
Deploy to Cluster¶
Verify Installation¶
Check that the operator is running:
Expected output:
Check that CRDs are installed:
Expected output:
clusters.pgop.ruck.io 2026-01-01T00:00:00Z
databases.pgop.ruck.io 2026-01-01T00:00:00Z
roles.pgop.ruck.io 2026-01-01T00:00:00Z
Uninstall¶
# Remove CRDs (this will delete all managed resources!)
make uninstall
# Remove operator
kubectl delete -k config/default
Warning
Uninstalling CRDs will delete all Cluster, Role, and Database resources and their associated PostgreSQL data.