setup-postgres.sh 296 B

12345678910
  1. kubectl apply --server-side -f \
  2. https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.23/releases/cnpg-1.23.0.yaml
  3. kubectl get pods -n cnpg-system
  4. kubectl apply -f postgres-secrets.yaml
  5. kubectl apply -f postgres-cluster.yaml
  6. kubectl apply -f postgres-loadbalancer.yaml