mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 06:15:18 +02:00
Port-forward service instead of pod (#1040)
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ You can now access the web interface by port forwarding the UI pod (mind the
|
|||||||
label selector) and enter `localhost:8081` in your browser:
|
label selector) and enter `localhost:8081` in your browser:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl port-forward "$(kubectl get pod -l name=postgres-operator-ui --output='name')" 8081
|
kubectl port-forward svc/postgres-operator-ui 8081:8081
|
||||||
```
|
```
|
||||||
|
|
||||||
Available option are explained in detail in the [UI docs](operator-ui.md).
|
Available option are explained in detail in the [UI docs](operator-ui.md).
|
||||||
|
|||||||
Reference in New Issue
Block a user