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

chore: add clusterrole for node metrics resource #140

Merged

Conversation

Vacant2333
Copy link
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

{"level":"ERROR","time":"2024-11-20T15:50:18.495Z","logger":"controller","message":"failed to get node metrics","commit":"e95d989","controller":"telemetry","controllerGroup":"","controllerKind":"Node","Node":{"name":"cn-shenzhen.[---](http://---/)"},"namespace":"","name":"cn-shenzhen.[---](http://---/)","reconcileID":"31391adf-6247-44ba-b16c-1759326c058b","error":"[nodes.metrics.k8s.io](http://nodes.metrics.k8s.io/) is forbidden: User \"system:serviceaccount:karpenter-system:karpenter\" cannot list resource \"nodes\" in API group \"[metrics.k8s.io](http://metrics.k8s.io/)\" at the cluster scope"}

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Copy link

gitautomator bot commented Nov 21, 2024

Thanks to your contribution, the maintainers will review it as soon as they can!

Copy link
Contributor

@jwcesign jwcesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@jwcesign jwcesign merged commit 33b7095 into cloudpilot-ai:main Nov 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants