Difference between revisions of "Helm install prometheus example outputs"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
AQUI | AQUI | ||
+ | <pre> | ||
+ | Get the PushGateway URI by running these commands in the same she11: | ||
+ | export POD NAME=$ (kubect] get pods --namespace default -1 | ||
+ | ta•name]") | ||
+ | "appeprometheus, component-pushgates | ||
+ | kubect] --namespace default port-forward $POD NAME 9091 | ||
+ | For more information on running Prometheus, visit: | ||
+ | https://prometheus.io/ | ||
+ | [root@ip-10-0-2-112 -]# ^C | ||
+ | [root@ip-10-0-2-112 -]# k get svc | ||
+ | NAME | ||
+ | kBs-dashboard-kubernetes-dashboard | ||
+ | kubernetes | ||
+ | myprometheus-alertmanager | ||
+ | myprometheus-kube-state-metrics | ||
+ | myprometheus-node-exporter | ||
+ | myprometheus-pushgateway | ||
+ | myprometheus-server | ||
+ | TYPE | ||
+ | ClusterIP | ||
+ | ClusterIP | ||
+ | ClusterIP | ||
+ | ClusterIP | ||
+ | ClusterIP | ||
+ | ClusterIP | ||
+ | ClusterIP | ||
+ | [root@ip-10-0-2-112 -] | ||
+ | CLUSTER-IP | ||
+ | 172.20.58.151 | ||
+ | 172.20.0.1 | ||
+ | 172.20.84.207 | ||
+ | 172.20.65.0 | ||
+ | 172.20.140.35 | ||
+ | 172.20.36.147 | ||
+ | 172.20.47.251 | ||
+ | AZERNAL-IP | ||
+ | (none> | ||
+ | Cone> | ||
+ | (none> | ||
+ | PORT (S) | ||
+ | 443/TCP | ||
+ | 443/TCP | ||
+ | 80/TCP. | ||
+ | 8080/TCP | ||
+ | 9100/TCP | ||
+ | 9091/TCP | ||
+ | 0/TCP | ||
+ | AGE | ||
+ | 25h | ||
+ | 5d1 6h | ||
+ | 7m20s | ||
+ | 7m20s- | ||
+ | 7m205 | ||
+ | 17m20s | ||
+ | 7205 | ||
+ | </pre> | ||
+ | |||
+ | |||
Revision as of 12:21, 21 July 2022
AQUI
Get the PushGateway URI by running these commands in the same she11: export POD NAME=$ (kubect] get pods --namespace default -1 ta•name]") "appeprometheus, component-pushgates kubect] --namespace default port-forward $POD NAME 9091 For more information on running Prometheus, visit: https://prometheus.io/ [root@ip-10-0-2-112 -]# ^C [root@ip-10-0-2-112 -]# k get svc NAME kBs-dashboard-kubernetes-dashboard kubernetes myprometheus-alertmanager myprometheus-kube-state-metrics myprometheus-node-exporter myprometheus-pushgateway myprometheus-server TYPE ClusterIP ClusterIP ClusterIP ClusterIP ClusterIP ClusterIP ClusterIP [root@ip-10-0-2-112 -] CLUSTER-IP 172.20.58.151 172.20.0.1 172.20.84.207 172.20.65.0 172.20.140.35 172.20.36.147 172.20.47.251 AZERNAL-IP (none> Cone> (none> PORT (S) 443/TCP 443/TCP 80/TCP. 8080/TCP 9100/TCP 9091/TCP 0/TCP AGE 25h 5d1 6h 7m20s 7m20s- 7m205 17m20s 7205
helm install myprometheus prometheus-community/prometheus NAME: myprometheus LAST DEPLOYED: Wed May 25 19:52:07 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: 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}") 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: myprometheus-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: myprometheus-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/
Related
See also
helm install [ --set | --dry-run | --debug | --timeout | --namespace | --create-namespace | --generate-name | --help ] values.yaml
,helm upgrade --install
- Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: