Skip to content

Instantly share code, notes, and snippets.

@pmichk
Created April 17, 2019 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmichk/653a8c6f2882d980df644fff097311c3 to your computer and use it in GitHub Desktop.
Save pmichk/653a8c6f2882d980df644fff097311c3 to your computer and use it in GitHub Desktop.
kubectl apply -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"
kubectl port-forward -n weave "$(kubectl get -n weave pod --selector=weave-scope-component=app -o jsonpath='{.items..metadata.name}')" 4040
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment