diff --git a/autoscaling/custom-compute-classes/dra/README.md b/autoscaling/custom-compute-classes/dra/README.md index d60800b924..e501530e2d 100644 --- a/autoscaling/custom-compute-classes/dra/README.md +++ b/autoscaling/custom-compute-classes/dra/README.md @@ -91,6 +91,8 @@ For the GPUs we will use in this example, the following command is sufficient: ```console kubectl apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/nvidia-driver-installer/ubuntu/daemonset-preloaded.yaml +kubectl patch daemonset nvidia-driver-installer -n kube-system -p \ + '{"spec":{"template":{"metadata":{"annotations":{"cluster-autoscaler.kubernetes.io/safe-to-evict":"true"}}}}}' ``` The container toolkit is installed via a DaemonSet: diff --git a/autoscaling/custom-compute-classes/dra/nvidia-container-toolkit-installer.yaml b/autoscaling/custom-compute-classes/dra/nvidia-container-toolkit-installer.yaml index 682cfd5eb1..03be2292b2 100644 --- a/autoscaling/custom-compute-classes/dra/nvidia-container-toolkit-installer.yaml +++ b/autoscaling/custom-compute-classes/dra/nvidia-container-toolkit-installer.yaml @@ -25,6 +25,8 @@ spec: app: nvidia-container-toolkit-installer template: metadata: + annotations: + cluster-autoscaler.kubernetes.io/safe-to-evict: "true" labels: app: nvidia-container-toolkit-installer spec: