apiVersion: postgresql.cnpg.io/v1

From wikieduonline
Jump to navigation Jump to search

Examples[edit]

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: cluster-example 

spec:
  instances: 3
  storage:
    size: 1Gi
EOF


kubectl get pods
NAME                READY   STATUS    RESTARTS   AGE
cluster-example-1   1/1     Running   0          2m42s
cluster-example-2   1/1     Running   0          2m19s
cluster-example-3   1/1     Running   0          2m


cat <<EOF
helm install cnpg

See also[edit]

Advertising: