Skip to content

Commit

Permalink
Merge pull request #113 from mpatlasov/OCPBUGS-23306-Avoid-eviction
Browse files Browse the repository at this point in the history
OCPBUGS-23306: Add annotation to CSI driver Pod preventing eviction from the cluster-autoscaler
  • Loading branch information
openshift-merge-bot[bot] committed Dec 11, 2023
2 parents 6178d48 + c97d704 commit 15b2d0a
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 15b2d0a

Please sign in to comment.