Port-forward service instead of pod (#1040)
This commit is contained in:
parent
375963424d
commit
ec932f88d8
|
|
@ -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:
|
||||
|
||||
```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).
|
||||
|
|
|
|||
Loading…
Reference in New Issue