Skip to content

Commit

Permalink
OCPBUGS-23306: 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 authored and openshift-cherrypick-robot committed Dec 19, 2023
1 parent a33b6b1 commit 511ddf2
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 @@ -20,6 +20,8 @@ spec:
app: ibm-powervs-block-csi-driver-node
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
serviceAccount: ibm-powervs-block-csi-driver-node-sa
Expand Down

0 comments on commit 511ddf2

Please sign in to comment.