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

create pod UnexpectedAdmissionError #6

Closed
king-jingxiang opened this issue Jul 17, 2020 · 2 comments
Closed

create pod UnexpectedAdmissionError #6

king-jingxiang opened this issue Jul 17, 2020 · 2 comments

Comments

@king-jingxiang
Copy link

For k8s v1.17.9 UnexpectedAdmissionError due to lack of pod update verbs

pod describe

  Warning  UnexpectedAdmissionError  10s   kubelet, amax-pcl  Update plugin resources failed due to rpc error: code = Unknown desc = failed to update pod annotation pods "pod1" is forbidden: User "system:serviceaccount:kube-system:volcano-device-plugin" cannot update resource "pods" in API group "" in the namespace "default", which is unexpected.

rbac need update verbs

  - apiGroups: [""]
    resources: ["pods"]
    verbs: ["get", "list"]
@k82cn
Copy link
Member

k82cn commented Jul 18, 2020

/cc @hzxuzhonghu

@hzxuzhonghu
Copy link
Collaborator

fixed by #7

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

3 participants