From 05500282cc9fd493b97a385349d03708609f377b Mon Sep 17 00:00:00 2001 From: Maxim Patlasov Date: Sun, 10 Dec 2023 17:31:37 -0800 Subject: [PATCH] OCPBUGS-25657: 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 30858286a..db8f1ce8e 100644 --- a/assets/node.yaml +++ b/assets/node.yaml @@ -24,6 +24,8 @@ spec: # the cluster is not configured for workload pinning. # See (openshift/enhancements#1213) for more info. target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' + # This annotation prevents eviction from the cluster-autoscaler + cluster-autoscaler.kubernetes.io/enable-ds-eviction: "false" labels: app: aws-ebs-csi-driver-node spec: