-
Notifications
You must be signed in to change notification settings - Fork 64
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
update pod annotation failed #9
Comments
You changed the go.mod and compile binary yourself? The log tells that your pod is not found when appending annotation, so you have to check whether the pod is recreated with same name. |
Thanks for reply. I recompiled with the client-go version consistent with k8s under your colleague suggestion when I encountered this problem. |
i have the same problem,I solved by modify system:kube-scheduler cluster role Add pod patch permissions.
kubectl edit clusterroles system:kube-scheduler - apiGroups:
- ""
resources:
- pods
verbs:
- delete
- get
- patch
- list
- watch |
When I test the gpu-admission in k8s v1.13.5 ,I got the following error:
Nodes information:
NOTE: The nodes begining with 'ai' are GPU nodes and labeled with 'nvidia-device-enable=enable '. Some information about GPU nodes is as follows:
The go.mod:
The text was updated successfully, but these errors were encountered: