Last active
December 3, 2022 19:10
-
-
Save erangaeb/ad94504ee72da37ec8e02bf7da4d61d5 to your computer and use it in GitHub Desktop.
run service monitory
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
# run service monitory | |
kubectl apply -f servicemonitor.yaml | |
❯❯ kubectl get servicemonitors | grep blackbox-exporter | |
blackbox-exporter 69m | |
# access prometheus ui via port-forward | |
❯❯ kubectl port-forward svc/prom-kube-prometheus-stack-prometheus 9090:9090 | |
Forwarding from 127.0.0.1:9090 -> 9090 | |
Forwarding from [::1]:9090 -> 9090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment