Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus新增自定义规则失败 #2299

Open
luckyboysmith opened this issue Jun 20, 2023 · 0 comments
Open

prometheus新增自定义规则失败 #2299

luckyboysmith opened this issue Jun 20, 2023 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@luckyboysmith
Copy link

What happened:
希望在tke安装的prometheus中新增自定义规则,
但是 编辑configmap prometheus-k8s-rulefiles-0后,发现新增的内容并未保存,
通过docker exec命令进入prometheus pod,并在/etc/prometheus/rules/目录新增 myrule.yaml后,
通过curl方式 调用 prometheus的 /reload发现不生效,
希望得到帮助
What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • TKE version:1.7
  • Global or business cluster:1.19.7
  • Kubernetes version (use kubectl version):
  • Install addons:
  • Others:
@luckyboysmith luckyboysmith added the kind/bug Categorizes issue or PR as related to a bug. label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant