Difference between revisions of "Helm install prometheus example outputs"

From wikieduonline
Jump to navigation Jump to search
Line 42: Line 42:
 
  For more information on running Prometheus, visit:
 
  For more information on running Prometheus, visit:
 
  https://prometheus.io/
 
  https://prometheus.io/
 +
 +
== Related ==
 +
* <code>[[kubectl get svc]]</code>
  
  

Revision as of 12:09, 21 July 2022

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: