Skip to content

Instantly share code, notes, and snippets.

@Olsenius
Created July 9, 2018 12:30
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 Olsenius/6f9b891433b9a48fd56de1c0f000aa5c to your computer and use it in GitHub Desktop.
Save Olsenius/6f9b891433b9a48fd56de1c0f000aa5c to your computer and use it in GitHub Desktop.
kubectl port-forward $(kubectl get pods -l k8s-app=grafana -o=jsonpath='{.items[0].metadata.name}' -n kube-system) -n kube-system 8000:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment