Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s port forwarding instructions are broken #1475

Closed
errordeveloper opened this issue May 11, 2016 · 1 comment
Closed

k8s port forwarding instructions are broken #1475

errordeveloper opened this issue May 11, 2016 · 1 comment

Comments

@errordeveloper
Copy link
Contributor

errordeveloper commented May 11, 2016

The docs say:

kubectl port-forward --namespace=kube-system $(kubectl get pod --namespace=kube-system --selector=name=weave-scope-app -o jsonpath={.items..metadata.name}) 4040

We can simplify this, and align with kubectl create instructions, i.e.:

kubectl port-forward $(kubectl get pod --selector=name=weave-scope-app -o jsonpath={.items..metadata.name}) 4040

Or use --namespace=kube-system everywhere.

@errordeveloper
Copy link
Contributor Author

errordeveloper commented May 11, 2016

@tomwilkie as you pointed this out, could you please suggest the preferred fix here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant