kube-prometheus-stack

From wikieduonline
Jump to navigation Jump to search

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://charts.helm.sh/stable
helm repo update
 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


[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


Related[edit]

See also[edit]

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