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

standalone案例无法正确运行 #125

Closed
dotDuck opened this issue Jan 7, 2022 · 2 comments · May be fixed by #135
Closed

standalone案例无法正确运行 #125

dotDuck opened this issue Jan 7, 2022 · 2 comments · May be fixed by #135
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@dotDuck
Copy link

dotDuck commented Jan 7, 2022

What happened:

standalone案例无法正确运行,现象:

  1. probe-agent启动报错找不到configmap-probeagent
  2. probe-agent日志报错各类资源list等权限forbidden
  3. Prober 示例运行job提示无法找到configmap-extra-config

What you expected to happen:

standalone案例正确运行

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

  1. 按照文档 https://docs.erda.cloud/1.5/manual/eco-tools/kubeprober/best-practices/standalone_kubeprober.html 进行操作,prober-agent容器无法正常启动;
  2. 按照文档 https://docs.erda.cloud/1.5/manual/eco-tools/kubeprober/guides/first_prober.html 运行prober示例无法正确运行job

Anything else we need to know?:

已自行定位问题原因并修改:
dotDuck@ade3b0d#diff-ebef744877d88253a7e2a26f413155959097fe3659045131b32418fb9af80937
如果可以的话可以进行pull-request。

问题1原因:probe-agent-standalone.yaml声明问题

  • 缺少configmapprobeagent的声明(对应现象1)
  • serviceaccountkubeprober-worker声明后未使用,应该将kubeprober-worker-rolebinding绑定的serviceacccount更换为kubeprober(对应现象2)
  • probe-agent镜像更新到docker-hub中最新版(也可忽略)
  • 仍有其他configmap找不到的日志报错,但是不影响整体运行,如:dice-cluster-info、dice-tools-info、dice-addon-info

问题2原因:prober-demo-example声明问题

  • 缺少configmapextra-config的声明,但是配置内容无从参考,也找不到合适的新增位置,临时新建cm解决(对应现象3)

Environment:

  • Erda version: 无
  • Kubernetes version (use kubectl version): Kind kubernetes v1.19.11
@dotDuck dotDuck added the kind/bug Categorizes issue or PR as related to a bug. label Jan 7, 2022
@dotDuck
Copy link
Author

dotDuck commented Jan 14, 2022

@WeiXuSeu

@jferic
Copy link
Contributor

jferic commented Feb 21, 2022

What happened:

standalone案例无法正确运行,现象:

  1. probe-agent启动报错找不到configmap-probeagent
  2. probe-agent日志报错各类资源list等权限forbidden
  3. Prober 示例运行job提示无法找到configmap-extra-config

What you expected to happen:

standalone案例正确运行

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

  1. 按照文档 https://docs.erda.cloud/1.5/manual/eco-tools/kubeprober/best-practices/standalone_kubeprober.html 进行操作,prober-agent容器无法正常启动;
  2. 按照文档 https://docs.erda.cloud/1.5/manual/eco-tools/kubeprober/guides/first_prober.html 运行prober示例无法正确运行job

Anything else we need to know?:

已自行定位问题原因并修改: dotDuck@ade3b0d#diff-ebef744877d88253a7e2a26f413155959097fe3659045131b32418fb9af80937 如果可以的话可以进行pull-request。

问题1原因:probe-agent-standalone.yaml声明问题

  • 缺少configmapprobeagent的声明(对应现象1)
  • serviceaccountkubeprober-worker声明后未使用,应该将kubeprober-worker-rolebinding绑定的serviceacccount更换为kubeprober(对应现象2)
  • probe-agent镜像更新到docker-hub中最新版(也可忽略)
  • 仍有其他configmap找不到的日志报错,但是不影响整体运行,如:dice-cluster-info、dice-tools-info、dice-addon-info

问题2原因:prober-demo-example声明问题

  • 缺少configmapextra-config的声明,但是配置内容无从参考,也找不到合适的新增位置,临时新建cm解决(对应现象3)

Environment:

  • Erda version: 无
  • Kubernetes version (use kubectl version): Kind kubernetes v1.19.11

pr is welcome~

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.
Development

Successfully merging a pull request may close this issue.

3 participants