mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
nvidia-gpu-device-plugin daemonset should tolerate nvidia.com/gpu taint.
It is expected that nodes with extended resources attached will be tainted with the resouce name, so that we can create dedicated nodes. If ExtendedResourceToleration admission controller is enabled, pods requesting such resources will automatically tolerate such taints. nvidia-gpu-device-plugin daemonset doesn't request such resources but still needs to run on such nodes, so it needs this toleration.
This commit is contained in:
parent
2aeace402a
commit
d7341749ff
@ -22,6 +22,10 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: cloud.google.com/gke-accelerator
|
||||
operator: Exists
|
||||
tolerations:
|
||||
- key: "nvidia.com/gpu"
|
||||
effect: "NoSchedule"
|
||||
operator: "Exists"
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user