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

🐛 failed to get kubelet config for summary api, error: Forbidden (user=system:serviceaccount:katalyst-system:katalyst-agent, verb=get, resource=nodes, subresource=stats)" #717

Open
kingeasternsun opened this issue Nov 8, 2024 · 0 comments

Comments

@kingeasternsun
Copy link

kingeasternsun commented Nov 8, 2024

What happened?

when i install overcommit

 helm install overcommit -n katalyst-system --create-namespace kubewharf/katalyst-overcommit --set katalyst-agent.customArgs.sysadvisor-plugins="-overcommit-aware"

I got error
image

failed to update stats/summary from kubelet: "failed to get kubelet config for summary api, error: Forbidden (user=system:serviceaccount:katalyst-system:katalyst-agent, verb=get, resource=nodes, subresource=stats)"

the reason is that clusterole katalyst-agent lack this, when I add it back, katalyste-agent works.
···

  • apiGroups:
    • ""
      resources:
    • nodes/stats
      verbs:
    • get
      ···

What did you expect to happen?

access the kubelet summary api success

How can we reproduce it (as minimally and precisely as possible)?

just install

 helm install overcommit -n katalyst-system --create-namespace kubewharf/katalyst-overcommit --set katalyst-agent.customArgs.sysadvisor-plugins="-overcommit-aware"

Software version

v5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant