Difference between revisions of "Helm install prometheus"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 35: Line 35:
  
 
== [[GKE]]/[[EKS]] installations ==
 
== [[GKE]]/[[EKS]] installations ==
  helm upgrade --install [[kube-prometheus-stack]] [[prometheus-community/kube-prometheus-stack]] \
+
 
    --set='[[kubeControllerManager]].enabled=false' \
+
  {{helm install kube-prometheus-stack for EKS/GKE}}
    --set='[[kubeEtcd]].enabled=false' \
 
    --set='[[kubeScheduler]].enabled=false' \
 
    --set='[[kubeProxy]].enabled=false' \
 
    --set='[[defaultRules]].rules.[[etcd]]=false' \
 
    --set='defaultRules.rules.[[kubernetesSystem]]=false' \
 
    --set='defaultRules.rules.k[[ubeScheduler]]=false' \
 
    --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]]
 
  
 
== Related ==
 
== Related ==
Line 64: Line 48:
 
* <code>[[helm search repo prometheus-community]]</code>
 
* <code>[[helm search repo prometheus-community]]</code>
 
* <code>[[helm install prometheus bitnami/kube-prometheus]]</code>
 
* <code>[[helm install prometheus bitnami/kube-prometheus]]</code>
 +
* <code>[[prometheus.io]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:51, 23 July 2024


helm repo add prometheus-community https://prometheus-community.github.io/helm-charts

helm upgrade --install prometheus prometheus-community/prometheus --set ingress.enabled=true
helm upgrade --install prometheus prometheus-community/prometheus --set ingress.enabled=true --set ingress.ingresClassName=alb
helm upgrade --install prometheus prometheus-community/prometheus --set ingress.enabled=true --set ingress.ingresClassName=nginx
values.yml[1]



Grafana integration using kube-prometheus-stack[edit]

[2]

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

GKE/EKS installations[edit]

 helm upgrade --install kube-prometheus-stack prometheus-community/kube-prometheus-stack \
   --set='kubeControllerManager.enabled=false' \
   --set='kubeEtcd.enabled=false' \
   --set='kubeScheduler.enabled=false' \
   --set='kubeProxy.enabled=false' \
   --set='defaultRules.rules.etcd=false' \
   --set='defaultRules.rules.kubernetesSystem=false' \
   --set='defaultRules.rules.kubeScheduler=false' \
   --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

Related[edit]

kubectl get svc -n monitoring

Related[edit]

See also[edit]

  • https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml
  • https://docs.stakewise.io/node-operator/stakewise-infra-package/usage
  • Advertising: