Skip to content

Commit

Permalink
Merge pull request #67 from openshift-cherrypick-robot/cherry-pick-65…
Browse files Browse the repository at this point in the history
…-to-release-4.15

[release-4.15] OCPBUGS-25161: Add annotation to CSI driver Pod preventing eviction from the cluster-autoscaler
  • Loading branch information
openshift-merge-bot[bot] committed Dec 16, 2023
2 parents c4f3454 + e10428c commit e75742f
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: gcp-filestore-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: gcp-filestore-csi-driver-node-sa
Expand Down

0 comments on commit e75742f

Please sign in to comment.