helm upgrade --install kube-prometheus-stack prometheus-community/kube-prometheus-stack

From wikieduonline
Jump to navigation Jump to search

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


Release "kube-prometheus-stack" does not exist. Installing it now.
 

W1208 22:24:42.740891   28165 warnings.go:70] unknown field "spec.endpoints[0].enableHttp2"
NAME: kube-prometheus-stack
LAST DEPLOYED: Thu Dec  8 22:24:25 2022
NAMESPACE: monitoring
STATUS: deployed
REVISION: 1
NOTES:
kube-prometheus-stack has been installed. Check its status by running:
  kubectl --namespace monitoring get pods -l "release=kube-prometheus-stack"

Visit https://github.com/prometheus-operator/kube-prometheus for instructions on how to create & configure 
Alertmanager and Prometheus instances using the Operator.


Related[edit]

See also[edit]

Advertising: