Skip to content

Commit

Permalink
Merge pull request #120 from openshift-cherrypick-robot/cherry-pick-1…
Browse files Browse the repository at this point in the history
…13-to-release-4.14

[release-4.14] OCPBUGS-25657: Add annotation to CSI driver Pod preventing eviction from the cluster-autoscaler
  • Loading branch information
openshift-merge-bot[bot] committed Feb 21, 2024
2 parents 557c4f4 + 44caa5f commit 9189357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/node.yaml
Expand Up @@ -20,6 +20,8 @@ spec:
app: azure-disk-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: azure-disk-csi-driver-node-sa
Expand Down

0 comments on commit 9189357

Please sign in to comment.