User Tools

Site Tools


k8s:services:stackgres_postgres_operator

**This is an old revision of the document!**

Stackgres Postgres Operator

Setup

Access

https://stackgres.io/doc/latest/administration/adminui/

kubectl get secret -n stackgres stackgres-restapi-admin --template '{{ printf "username = %s\n" (.data.k8sUsername | base64decode) }}'
kubectl get secret -n stackgres stackgres-restapi-admin --template '{{ printf "password = %s\n" (.data.clearPassword | base64decode) }}'
POD_NAME=$(kubectl get pods --namespace stackgres -l "stackgres.io/restapi=true" -o jsonpath="{.items[0].metadata.name}")
kubectl port-forward ${POD_NAME} --address 0.0.0.0 8443:9443 --namespace stackgres

The admin UI is available at http://localhost:8443

k8s/services/stackgres_postgres_operator.1778165292.txt.gz · Last modified: by admin