From 63a9c8efe5af12624863ed2834ebd33a3efc6221 Mon Sep 17 00:00:00 2001 From: Maxim Patlasov Date: Sun, 10 Dec 2023 17:36:01 -0800 Subject: [PATCH] OCPBUGS-23306: Add annotation to CSI driver Pod preventing eviction from the cluster-autoscaler --- assets/node.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/node.yaml b/assets/node.yaml index cf520198c..7ff293f03 100644 --- a/assets/node.yaml +++ b/assets/node.yaml @@ -22,6 +22,8 @@ spec: component: nodeplugin annotations: target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' + # This annotation prevents eviction from the cluster-autoscaler + cluster-autoscaler.kubernetes.io/enable-ds-eviction: "false" spec: hostNetwork: true dnsPolicy: ClusterFirstWithHostNet