From a38e98f907bb7c2d483359f285831d71fec5b83b Mon Sep 17 00:00:00 2001 From: Rohit Agarwal Date: Fri, 6 Apr 2018 13:53:40 -0700 Subject: [PATCH] Add wildcard toleration to nvidia-gpu-device-plugin. This addon runs only on nodes with GPUs and it's essential for their proper function. --- cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml b/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml index e8c3ccecbad..b8147b03f10 100644 --- a/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml +++ b/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml @@ -23,9 +23,10 @@ spec: - key: cloud.google.com/gke-accelerator operator: Exists tolerations: - - key: "nvidia.com/gpu" + - operator: "Exists" + effect: "NoExecute" + - operator: "Exists" effect: "NoSchedule" - operator: "Exists" hostNetwork: true hostPID: true volumes: