helm install cnpg
Jump to navigation
Jump to search
helm repo add cnpg https://cloudnative-pg.github.io/charts helm upgrade --install cnpg \ --namespace cnpg-system \ --create-namespace \ cnpg/cloudnative-pg
helm get values cloudnative-pg -n cnpg-system
Release "cnpg" does not exist. Installing it now. NAME: cnpg LAST DEPLOYED: Sun May 3 20:04:48 2026 NAMESPACE: cnpg-system STATUS: deployed REVISION: 1 DESCRIPTION: Install complete TEST SUITE: None NOTES: CloudNativePG operator should be installed in namespace "cnpg-system". You can now create a PostgreSQL cluster with 3 nodes as follows: cat <<EOF | kubectl apply -f - # Example of PostgreSQL cluster apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: name: cluster-example spec: instances: 3 storage: size: 1Gi EOF kubectl get -A cluster
Related[edit]
See also[edit]
Advertising: