Files
LiquidCode_Cluster/liquid-code-chart/charts/cloudnative-pg/templates/NOTES.txt
Пытков Роман eab8a3ebaf move to helm. S3 secret
2024-02-13 19:15:22 +03:00

19 lines
393 B
Plaintext

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