From 1b13c34732e836fa9ae5c3bb845894b53ea47304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Mon, 12 Apr 2021 11:45:13 +0200 Subject: [PATCH] Add uninstall hint for Prometeus CRDs --- execution/helm/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/execution/helm/README.md b/execution/helm/README.md index 86d760ec5..6a2f08355 100644 --- a/execution/helm/README.md +++ b/execution/helm/README.md @@ -52,11 +52,21 @@ To uninstall/delete the `my-release` deployment: helm delete my-release ``` -This command does not remove the CRDs which are created by this Chart. Remove this CRDs with: +This command does not remove the CRDs which are created by this chart. Remove them manually with: ```sh +# CRDs from Theodolite kubectl delete crd execution kubectl delete crd benchmark +# CRDs from Prometheus operator (see https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#uninstall-chart) +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 ``` ## Development -- GitLab