0% found this document useful (0 votes)
11 views1 page

Streaming Replication

Uploaded by

Stephen Efange
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Streaming Replication

Uploaded by

Stephen Efange
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

https://www.crunchydata.

com/blog/streaming-replication-across-kubernetes-postgres-
clusters

Kubernetes

Common commands

kubectl get pod --all-namespaces


kubectl -n postgres-operator get pods
kubectl -n postgres-operator get svc
kubectl -n postgres-operator get deployments

kubectl -n postgres-operator port-forward svc/hippo-primary 5432:5432


kubectl -n postgres-operator get pods port-forward svc/postgres-operator 8443:8443
kubectl explain PostgresCluster.spec
kubectl explain postgresclusters
kubectl edit configmap -n postgres-operator
kubectl edit configmap -n postgres-operator hippo-instance1-t7qw-config
kubectl get pvc --selector=pg-cluster=hippo -n postgres-operator
kubectl -n postgres-operator get secrets hippo-pguser-postgres -o go-
template='{{.data.uri | base64decode}}'
psql $(kubectl -n postgres-operator get secrets hippo-pguser-postgres -o go-
template='{{.data.uri | base64decode}}')
kubectl explain PostgresCluster.spec
kubectl get all
Administrator privileges
kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard
get secret | grep admin-user | awk '{print $1}')

https://devpress-csdn-net.translate.goog/k8s/66c9878b7648734c1b1679e7.html?
_x_tr_sl=zh-CN&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=sc

You might also like