prometheus-k8s-rulefiles-0 无法修改问题
时间:2021-11-04 21:22:39 +0800 CST 浏览:842

kubesphere configmap prometheus-k8s-rulefiles-0 无法直接修改,需要使用命令方式。

# 获取所有的  PrometheusRule
kubectl get PrometheusRule -n kubesphere-monitoring-system

NAME                   AGE
prometheus-k8s-rules   52d

# 找到对应的 PrometheusRule 进行编辑即可
kubectl edit PrometheusRule prometheus-k8s-rules  -n kubesphere-monitoring-system


如果这篇文章对你有所帮助,可以通过下边的“打赏”功能进行小额的打赏。

本网站部分内容来源于互联网,如有侵犯版权请来信告知,我们将立即处理。


来说两句吧