Cloudnative-pg

From UVOO Tech Wiki
Revision as of 20:06, 28 January 2024 by Busk (talk | contribs)
Jump to navigation Jump to search

Cloud Native PG

https://cloudnative-pg.io/documentation/1.21/before_you_start/

https://cloudnative-pg.io/documentation/1.21/quickstart/

https://cloudnative-pg.io/documentation/1.21/samples/

Simple

create ns testpg
kubectl config set-context --current --namespace=testpg
kubectl apply -f https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.21.1/cnpg-1.21.1.yaml
kubectl get all -n cnpg-system
kubectl apply -f \
  https://cloudnative-pg.io/documentation/1.21/samples/cluster-example.yaml 
kubectl get pod

More Refs

https://cloudnative-pg.io/documentation/1.21/samples/cluster-example-replica-streaming.yaml

https://cloudnative-pg.io/documentation/1.21/monitoring/

https://cloudnative-pg.io/documentation/1.21/samples/cluster-example-full.yaml

More