From 94c697dc1876c3be7bdb68fb3674526f081afb6e Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Thu, 6 Feb 2020 11:23:04 +0100 Subject: [PATCH] add one intro phrase before submitting the manifest --- docs/quickstart.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index a64ce6f1a..94da9b56c 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -127,7 +127,7 @@ kubectl logs "$(kubectl get pod -l name=postgres-operator --output='name')" ## Deploy the operator UI -In the following paragraphs we describe how to access and manage Postgres +In the following paragraphs we describe how to access and manage PostgreSQL clusters from the command line with kubectl. But it can also be done from the browser-based [Postgres Operator UI](operator-ui.md). Before deploying the UI make sure the operator is running and its REST API is reachable through a @@ -145,7 +145,7 @@ kubectl apply -f ui/manifests/ helm install postgres-operator-ui ./charts/postgres-operator-ui ``` -Like with the operator, check if the UI pod gets into Running state: +Like with the operator, check if the UI pod gets into `Running` state: ```bash # if you've created the operator using yaml manifests @@ -155,10 +155,19 @@ kubectl get pod -l name=postgres-operator-ui kubectl get pod -l app.kubernetes.io/name=postgres-operator-ui ``` +You can now access the web interface by port forwarding the UI pod (mind the +label selector) and enter `localhost:8081` in your browser: +```bash +kubectl port-forward "$(kubectl get pod -l name=postgres-operator-ui --output='name')" 8081 +``` + +Available option are explained in detail in the [UI docs](operator-ui.md). ## Create a Postgres cluster +If the operator pod is running it listens to new events regarding `postgresql` +resources. Now, it's time to submit your first Postgres cluster manifest. ```bash # create a Postgres cluster