Fix kubectl port-forward command to access the scope app locally

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer
2016-11-11 16:04:38 +01:00
parent f9df493e44
commit 6d46bb0b12

View File

@@ -240,7 +240,7 @@ To download and read the Scope manifest run:
**Open Scope in Your Browser**
kubectl port-forward $(kubectl get pod --selector=weavescope-component=weavescope-app -o jsonpath='{.items..metadata.name}') 4040
kubectl port-forward $(kubectl get pod --selector=weave-scope-component=app -o jsonpath='{.items..metadata.name}') 4040
Open http://localhost:4040 in your browser. This allows you to access the Scope UI securely, without opening it to the Internet.