标签:release sop strong man master manager operator ring 直接
github官方链接
https://github.com/helm/charts/tree/master/stable/prometheus
安装命令
$ helm install --name my-release stable/prometheus-operator
安装指定参数,比如prometheus和prometheus-operator的serivce type改为nodeport,默认为ClusterIP
$ helm install --name my-release stable/prometheus-operator --set prometheusOperator.service.type=NodePort --set prometheus.service.type=NodePort
删除prometheus-operator
1、直接通过helm delete删除
$ helm delete my-release
2、删除相关crd
$ kubectl delete crd prometheuses.monitoring.coreos.com
$ kubectl delete crd prometheusrules.monitoring.coreos.com
$ kubectl delete crd servicemonitors.monitoring.coreos.com
$ kubectl delete crd alertmanagers.monitoring.coreos.com
3、删除helm 上的my-release
helm del --purge my-release
标签:release sop strong man master manager operator ring 直接
原文地址:https://www.cnblogs.com/kevincaptain/p/10032694.html