quickstart-for-gke.sh. Tested version available in directory, or latest from: https://github.com/CrunchyData/postgres-operator/blob/master/examples/quickstart-for-gke.sh
kubectl create -f storage.yml
./quickstart-for-gke.sh
./set-path.sh
After these commands you'll need to logout and login again.
kubectl port-forward postgres-operator-xxx-yyy 18443:8443
pgo version
pgo create cluster mycluster
pgo show cluster all
pgo show cluster mycluster --show-secrets=true
kubectl run -it --rm --image=postgres:10.4 psql -- psql -h mycluster -U postgres -W
pgo scale mycluster
pgo failover mycluster --query
pgo failover mycluster --target=mycluster-xxx
kubectl get pgtasks mycluster-failover -o yaml