What happened:
希望在tke安装的prometheus中新增自定义告警规则,
但是 编辑configmap prometheus-k8s-rulefiles-0后,发现新增的内容并未保存,
通过docker exec命令进入prometheus pod,并在/etc/prometheus/rules/目录新增 myrule.yaml后,
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- TKE version:
- Global or business cluster:
- Kubernetes version (use
kubectl version):
- Install addons:
- Others:
What happened:
希望在tke安装的prometheus中新增自定义告警规则,
但是 编辑configmap prometheus-k8s-rulefiles-0后,发现新增的内容并未保存,
通过docker exec命令进入prometheus pod,并在/etc/prometheus/rules/目录新增 myrule.yaml后,
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version):