Skip to content

Instantly share code, notes, and snippets.

@FreedomBen
Created March 30, 2022 22:58
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 FreedomBen/c7ca548c8a4529ad8c6ed1f00e849922 to your computer and use it in GitHub Desktop.
Save FreedomBen/c7ca548c8a4529ad8c6ed1f00e849922 to your computer and use it in GitHub Desktop.
Forward local port 5601 to Kibana in the Kubernetes Cluster
KIBANA_POD_NAME="$(kubectl get po -lapp=kibana -o jsonpath={.items[0].metadata.name})"
kubectl port-forward "${KIBANA_POD_NAME}" 5601:5601 --namespace=kube-logging
echo "Open http://localhost:5601 in your browser"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment