Editing Helm install prometheus example outputs
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | |||
− | + | [[helm install]] myprometheus prometheus-community/prometheus | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[helm install]] myprometheus prometheus-community/prometheus | ||
NAME: myprometheus | NAME: myprometheus | ||
LAST DEPLOYED: Wed May 25 19:52:07 2022 | LAST DEPLOYED: Wed May 25 19:52:07 2022 | ||
Line 61: | Line 11: | ||
NOTES: | NOTES: | ||
The Prometheus server can be accessed via port 80 on the following DNS name from within your cluster: | The Prometheus server can be accessed via port 80 on the following DNS name from within your cluster: | ||
− | myprometheus-server. | + | myprometheus-server.default.svc.cluster.local |
− | [[ | + | Get the [[Prometheus server]] URL by running these commands in the same shell: |
export POD_NAME=$([[kubectl get pods]] --namespace default -l "app=prometheus,component=server" -o [[jsonpath]]="{.items[0].metadata.name}") | export POD_NAME=$([[kubectl get pods]] --namespace default -l "app=prometheus,component=server" -o [[jsonpath]]="{.items[0].metadata.name}") | ||
− | + | kubectl --namespace default port-forward $POD_NAME 9090 | |
Line 75: | Line 25: | ||
Get the Alertmanager URL by running these commands in the same shell: | Get the Alertmanager URL by running these commands in the same shell: | ||
export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=alertmanager" -o jsonpath="{.items[0].metadata.name}") | export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=alertmanager" -o jsonpath="{.items[0].metadata.name}") | ||
− | kubectl --namespace default port-forward $POD_NAME | + | kubectl --namespace default port-forward $POD_NAME 9093 |
################################################################################# | ################################################################################# | ||
###### WARNING: Pod Security Policy has been moved to a global property. ##### | ###### WARNING: Pod Security Policy has been moved to a global property. ##### | ||
Line 95: | Line 45: | ||
https://prometheus.io/ | https://prometheus.io/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: