Difference between revisions of "Helm install prometheus bitnami/kube-prometheus"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
   
 
   
 
     [[kubectl get deploy]] -w --namespace default -l [[app.kubernetes.io]]/name=kube-prometheus- operator,app.kubernetes.io/instance=prometheus
 
     [[kubectl get deploy]] -w --namespace default -l [[app.kubernetes.io]]/name=kube-prometheus- operator,app.kubernetes.io/instance=prometheus
<pre>
+
Watch the Prometheus StatefulSet status using the command:
+
Watch the Prometheus StatefulSet status using the command:
 +
 +
    kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-prometheus,app.kubernetes.io/instance=prometheus
 +
 +
Prometheus can be accessed via port "9090" on the following DNS name from within your cluster:
 +
 +
    prometheus-kube-prometheus-prometheus.default.[[svc.cluster.local]]
  
    kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-prometheus,app.kubernetes.io/instance=prometheus
+
To access Prometheus from outside the cluster execute the following commands:  
 
+
Prometheus can be accessed via port "9090" on the following DNS name from within your cluster:
+
    echo "Prometheus URL: http://127.0.0.1:9090/"
 
+
    [[kubectl port-forward]] --namespace default svc/prometheus-kube-prometheus-prometheus [[9090]]:9090
    prometheus-kube-prometheus-prometheus.default.svc.cluster.local
 
 
 
To access Prometheus from outside the cluster execute the following commands:
 
 
 
    echo "Prometheus URL: http://127.0.0.1:9090/"
 
    kubectl port-forward --namespace default svc/prometheus-kube-prometheus-prometheus 9090:9090
 
 
 
Watch the Alertmanager StatefulSet status using the command:
 
  
 +
Watch the [[Alertmanager]] StatefulSet status using the command:
 +
<pre>
 
     kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-alertmanager,app.kubernetes.io/instance=prometheus
 
     kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-alertmanager,app.kubernetes.io/instance=prometheus
  

Latest revision as of 18:46, 2 November 2022

NAME: prometheus
LAST DEPLOYED: Wed Nov  2 19:31:51 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: kube-prometheus
CHART VERSION: 8.1.11
APP VERSION: 0.60.1

** Please be patient while the chart is being deployed ** 

Watch the Prometheus Operator Deployment status using the command:

    kubectl get deploy -w --namespace default -l app.kubernetes.io/name=kube-prometheus- operator,app.kubernetes.io/instance=prometheus

Watch the Prometheus StatefulSet status using the command:

    kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-prometheus,app.kubernetes.io/instance=prometheus

Prometheus can be accessed via port "9090" on the following DNS name from within your cluster: 

    prometheus-kube-prometheus-prometheus.default.svc.cluster.local
To access Prometheus from outside the cluster execute the following commands: 

    echo "Prometheus URL: http://127.0.0.1:9090/"
    kubectl port-forward --namespace default svc/prometheus-kube-prometheus-prometheus 9090:9090

Watch the Alertmanager StatefulSet status using the command:

    kubectl get sts -w --namespace default -l app.kubernetes.io/name=kube-prometheus-alertmanager,app.kubernetes.io/instance=prometheus

Alertmanager can be accessed via port "9093" on the following DNS name from within your cluster:

    prometheus-kube-prometheus-alertmanager.default.svc.cluster.local

To access Alertmanager from outside the cluster execute the following commands:

    echo "Alertmanager URL: http://127.0.0.1:9093/"
    kubectl port-forward --namespace default svc/prometheus-kube-prometheus-alertmanager 9093:9093


Advertising: