Difference between revisions of "Helm install prometheus"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
== [[Grafana]] integration ==
 
== [[Grafana]] integration ==
 
<ref>https://docs.stakewise.io/node-operator/stakewise-infra-package/usage</ref>
 
<ref>https://docs.stakewise.io/node-operator/stakewise-infra-package/usage</ref>
  [[helm upgrade --install kube-prometheus-stack]] prometheus-community/kube-prometheus-stack \
+
  [[helm upgrade --install kube-prometheus-stack prometheus-community/kube-prometheus-stack]] \
 
     [[--set]]='grafana.sidecar.dashboards.enabled=true' \
 
     [[--set]]='grafana.sidecar.dashboards.enabled=true' \
 
     --set='grafana.sidecar.dashboards.searchNamespace=true' \
 
     --set='grafana.sidecar.dashboards.searchNamespace=true' \
Line 18: Line 18:
 
     --version 39.5.0 \
 
     --version 39.5.0 \
 
     -f [[prom.yaml]]
 
     -f [[prom.yaml]]
 
  
 
== [[GKE]]/[[EKS]] installations ==
 
== [[GKE]]/[[EKS]] installations ==

Revision as of 21:25, 8 December 2022



Grafana integration

[1]

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

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


See also

  • https://docs.stakewise.io/node-operator/stakewise-infra-package/usage
  • Advertising: