Difference between revisions of "Cloudnative-pg"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "# Cloud Native PG https://cloudnative-pg.io/documentation/1.21/before_you_start/ https://cloudnative-pg.io/documentation/1.21/quickstart/ Simple ``` create ns testpg kubectl...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
# Rolling Updates (trigger with image)
 +
https://cloudnative-pg.io/documentation/current/rolling_update/
 
# Cloud Native PG
 
# Cloud Native PG
 
https://cloudnative-pg.io/documentation/1.21/before_you_start/
 
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/quickstart/
 +
 +
https://cloudnative-pg.io/documentation/1.21/samples/
  
 
Simple
 
Simple
Line 9: Line 13:
 
kubectl config set-context --current --namespace=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 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 \
 
kubectl apply -f \
   https://cloudnative-pg.io/documentation/1.21/samples/cluster-example.yaml
+
   https://cloudnative-pg.io/documentation/1.21/samples/cluster-example.yaml  
 +
kubectl get pod
 
```
 
```
  
Line 18: Line 24:
  
 
https://cloudnative-pg.io/documentation/1.21/monitoring/
 
https://cloudnative-pg.io/documentation/1.21/monitoring/
 +
 +
https://cloudnative-pg.io/documentation/1.21/samples/cluster-example-full.yaml
 +
 +
 +
 +
# More
 +
 +
- https://awslabs.github.io/data-on-eks/docs/blueprints/distributed-databases/cloudnative-postgres

Latest revision as of 04:50, 21 March 2024

Rolling Updates (trigger with image)

https://cloudnative-pg.io/documentation/current/rolling_update/

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