Created
June 29, 2022 10:31
-
-
Save amaurybsouza/dd7082552a88f42163d667756a42e294 to your computer and use it in GitHub Desktop.
prometheus_installation
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
| # helm install prometheus-labs --version=14.8.0 prometheus-community/prometheus | |
| NAME: prometheus-labs | |
| LAST DEPLOYED: Sun Jun 26 06:16:48 2022 | |
| NAMESPACE: default | |
| STATUS: deployed | |
| REVISION: 1 | |
| TEST SUITE: None | |
| NOTES: | |
| The Prometheus server can be accessed via port 80 on the following DNS name from within your cluster: | |
| prometheus-labs-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}") | |
| kubectl --namespace default port-forward $POD_NAME 9090 | |
| The Prometheus alertmanager can be accessed via port 80 on the following DNS name from within your cluster: | |
| prometheus-labs-alertmanager.default.svc.cluster.local | |
| 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}") | |
| kubectl --namespace default port-forward $POD_NAME 9093 | |
| ################################################################################# | |
| ###### WARNING: Pod Security Policy has been moved to a global property. ##### | |
| ###### use .Values.podSecurityPolicy.enabled with pod-based ##### | |
| ###### annotations ##### | |
| ###### (e.g. .Values.nodeExporter.podSecurityPolicy.annotations) ##### | |
| ################################################################################# | |
| The Prometheus PushGateway can be accessed via port 9091 on the following DNS name from within your cluster: | |
| prometheus-labs-pushgateway.default.svc.cluster.local | |
| Get the PushGateway URL by running these commands in the same shell: | |
| export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=pushgateway" -o jsonpath="{.items[0].metadata.name}") | |
| kubectl --namespace default port-forward $POD_NAME 9091 | |
| For more information on running Prometheus, visit: | |
| https://prometheus.io/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment