apps/cnpg/operators/charts/cloudnative-pg-0.22.0/cloudnative-pg/templates/NOTES.txt
Peter Kurfer 4575f1b05d
All checks were successful
Renovate / renovate (push) Successful in 1m36s
feat(db): split CNPG app into multiple apps
2024-10-10 20:45:29 +02:00

18 lines
393 B
Text

CloudNativePG operator should be installed in namespace "{{ .Release.Namespace }}".
You can now create a PostgreSQL cluster with 3 nodes in the current namespace 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 cluster