Difference between revisions of "Helm repo add prometheus-community https://prometheus-community.github.io/helm-charts"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  [[helm repo add]] [[prometheus-community]]
 
  [[helm repo add]] [[prometheus-community]]
  
 +
Basic example:
 +
[[helm install MY NAME prometheus-community/kube-prometheus-stack]]
  
[[helm install MY NAME prometheus-community/kube-prometheus-stack]]
+
[[Grafana]] integration:
 +
helm upgrade --install kube-prometheus-stack prometheus-community/kube-prometheus-stack \
 +
    [[--set]]='grafana.sidecar.dashboards.enabled=true' \
 +
    --set='grafana.sidecar.dashboards.searchNamespace=true' \
 +
    --set='prometheus.prometheusSpec.ruleSelectorNilUsesHelmValues=false' \
 +
    --set='prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false' \
 +
    --set='prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false' \
 +
    --set='prometheus.prometheusSpec.probeSelectorNilUsesHelmValues=false' \
 +
    --create-namespace \
 +
    --namespace monitoring \
 +
    --version 39.5.0 \
 +
    -f [[prom.yaml]]
  
 
== See also ==
 
== See also ==

Revision as of 06:09, 24 August 2022

helm repo add prometheus-community

Basic example:

helm install MY NAME prometheus-community/kube-prometheus-stack

Grafana integration:

helm upgrade --install kube-prometheus-stack prometheus-community/kube-prometheus-stack \
   --set='grafana.sidecar.dashboards.enabled=true' \
   --set='grafana.sidecar.dashboards.searchNamespace=true' \
   --set='prometheus.prometheusSpec.ruleSelectorNilUsesHelmValues=false' \
   --set='prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false' \
   --set='prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false' \
   --set='prometheus.prometheusSpec.probeSelectorNilUsesHelmValues=false' \
   --create-namespace \
   --namespace monitoring \
   --version 39.5.0 \
   -f prom.yaml

See also

Advertising: