mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 03:23:45 +02:00
make pooler labels configurable and change defaults
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
kubectl delete postgresql acid-minimal-cluster
|
||||
kubectl delete deployments -l application=db-connection-pooler,cluster-name=acid-minimal-cluster
|
||||
kubectl delete deployments -l application=spilo,cluster-name=acid-minimal-cluster,component=db-connection-pooler
|
||||
kubectl delete statefulsets -l application=spilo,cluster-name=acid-minimal-cluster
|
||||
kubectl delete services -l application=spilo,cluster-name=acid-minimal-cluster
|
||||
kubectl delete configmap postgres-operator
|
||||
|
||||
@@ -10,13 +10,13 @@ echo
|
||||
echo 'Pods'
|
||||
kubectl get pods -l application=spilo -o wide --all-namespaces
|
||||
echo
|
||||
kubectl get pods -l application=db-connection-pooler -o wide --all-namespaces
|
||||
kubectl get pods -l application=spilo,component=db-connection-pooler -o wide --all-namespaces
|
||||
echo
|
||||
echo 'Statefulsets'
|
||||
kubectl get statefulsets --all-namespaces
|
||||
echo
|
||||
echo 'Deployments'
|
||||
kubectl get deployments --all-namespaces -l application=db-connection-pooler
|
||||
kubectl get deployments --all-namespaces -l application=spilo,component=db-connection-pooler
|
||||
kubectl get deployments --all-namespaces -l application=postgres-operator
|
||||
echo
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user