helm install prometheus example outputs

From wikieduonline
Revision as of 12:54, 21 July 2022 by 88.5.177.185 (talk)
Jump to navigation Jump to search

AQUI
Get the PushGateway URL by running these commands in the same shel1:
export POD NAME=$ (kubectl get pods --namespace default -1ta.name]")"appeprometheus, component-pushgater
 kubectl --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







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

Advertising: