Created
July 4, 2019 17:57
-
-
Save efossas/8aa5808afd5fe29491c7116985c24bc1 to your computer and use it in GitHub Desktop.
Port Forward To Prometheus
This file contains 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
kubectl port-forward --namespace metrics $(kubectl get pod --namespace metrics --selector="app=prometheus,component=server,release=metrics" --output jsonpath='{.items[0].metadata.name}') 8080:9090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment