Difference between revisions of "Helm install prometheus"
Jump to navigation
Jump to search
↑ https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml
↑ https://docs.stakewise.io/node-operator/stakewise-infra-package/usage
(34 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://github.com/prometheus-community/helm-charts | ||
+ | * https://prometheus-community.[[github.io]]/helm-charts | ||
+ | |||
+ | |||
+ | [[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]] | ||
+ | |||
+ | [[Prometheus values.yml|values.yml]]<ref> https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml</ref> | ||
* <code>[[helm install myprometheus prometheus-community/prometheus]]</code> | * <code>[[helm install myprometheus prometheus-community/prometheus]]</code> | ||
+ | |||
+ | * <code>[[Prometheus values.yml]]</code> | ||
− | == [[Grafana]] integration == | + | == [[Grafana]] integration using [[kube-prometheus-stack]] == |
<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' \ | ||
--set='prometheus.prometheusSpec.ruleSelectorNilUsesHelmValues=false' \ | --set='prometheus.prometheusSpec.ruleSelectorNilUsesHelmValues=false' \ | ||
Line 20: | Line 35: | ||
== [[GKE]]/[[EKS]] installations == | == [[GKE]]/[[EKS]] installations == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | {{helm install kube-prometheus-stack for EKS/GKE}} | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[aws-ebs-csi-driver Installation]]</code> | ||
+ | * <code>[[k get svc -A]]</code> | ||
+ | |||
+ | [[kubectl get svc -n monitoring]] | ||
== Related == | == Related == | ||
− | + | * <code>[[helm show values prometheus-community/prometheus]]</code>, <code>[[values.yaml]]</code> | |
+ | * <code>[[helm search repo prometheus-community]]</code> | ||
+ | * <code>[[helm install prometheus bitnami/kube-prometheus]]</code> | ||
+ | * <code>[[prometheus.io]]</code> | ||
== See also == | == See also == | ||
+ | * {{helm install prometheus}} | ||
* {{Prometheus}} | * {{Prometheus}} | ||
[[Category:Prometheus]] | [[Category:Prometheus]] |
Latest revision as of 13:51, 23 July 2024
- https://github.com/prometheus-community/helm-charts
- https://prometheus-community.github.io/helm-charts
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]
Contents
Grafana integration using kube-prometheus-stack[edit]
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]
helm show values prometheus-community/prometheus
,values.yaml
helm search repo prometheus-community
helm install prometheus bitnami/kube-prometheus
prometheus.io
See also[edit]
helm install prometheus, Prometheus: values.yml
- Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: