Created
March 30, 2022 22:58
-
-
Save FreedomBen/c7ca548c8a4529ad8c6ed1f00e849922 to your computer and use it in GitHub Desktop.
Forward local port 5601 to Kibana in the Kubernetes Cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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