Skip to content

Commit

Permalink
OCPBUGS-25657: Add annotation to CSI driver Pod preventing eviction f…
Browse files Browse the repository at this point in the history
…rom the cluster-autoscaler
  • Loading branch information
mpatlasov committed Dec 19, 2023
1 parent a7a2682 commit 0550028
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0550028

Please sign in to comment.