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
如果这篇文章对你有所帮助,可以通过下边的“打赏”功能进行小额的打赏。
本网站部分内容来源于互联网,如有侵犯版权请来信告知,我们将立即处理。