678 B
Executable File
678 B
Executable File
#Installatie:
kubectl apply --server-side -f
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.26/releases/cnpg-1.26.0.yaml
#Cluster aanmaken:
kubectl apply -f postgres15.yaml
#Monitoring
kubectl create ns monitoring
helm upgrade --install
-f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/docs/src/samples/monitoring/kube-stack-config.yaml
prometheus-community
prometheus-community/kube-prometheus-stack -n monitoring
kubectl apply -n monitoring -f
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/docs/src/samples/monitoring/prometheusrule.yaml