Skip to content

Instantly share code, notes, and snippets.

@HungUnicorn
Created May 14, 2020 13:24
Show Gist options
  • Save HungUnicorn/21ab5b0fb50d57e57820407b4d88c975 to your computer and use it in GitHub Desktop.
Save HungUnicorn/21ab5b0fb50d57e57820407b4d88c975 to your computer and use it in GitHub Desktop.
kubectl port-forward to pod name one liner
kubectl -n istio-system port-forward \
$(kubectl -n istio-system get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment