Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width40

Grafana UI


Column
width55

Prometheus UI


Upgrade or uninstall chart

To upgrade all the Kubernetes components associated with the chart use or to remove them and delete the release

Code Block
languagebash
titleUpgrade or uninstall
collapsetrue
$ helm upgrade <chart_name> prometheus-community/kube-prometheus-stack -n monitoring
$ helm uninstall <chart_name> -n monitoring

Custom Resource Definitions (CRDs) created by this chart are not removed by default and should be manually cleaned up

Code Block
languagebash
titleRemove CRDs
collapsetrue
kubectl delete crd alertmanagerconfigs.monitoring.coreos.com
kubectl delete crd alertmanagers.monitoring.coreos.com
kubectl delete crd podmonitors.monitoring.coreos.com
kubectl delete crd probes.monitoring.coreos.com
kubectl delete crd prometheuses.monitoring.coreos.com
kubectl delete crd prometheusrules.monitoring.coreos.com
kubectl delete crd servicemonitors.monitoring.coreos.com
kubectl delete crd thanosrulers.monitoring.coreos.com