Skip to content

Commit

Permalink
[CI] Add autoscaling annotations to windows containers
Browse files Browse the repository at this point in the history
This patch also applies the autoscaling annotations that disableGKE's autoscaling
from downscaling with nodes that currently have jobs scheduled on them to the
windows runners too.
  • Loading branch information
boomanaiden154 committed Jan 12, 2025
1 parent 69508a6 commit e8028ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions premerge/windows_runner_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ minRunners: 0
maxRunners: 2

template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
spec:
tolerations:
- key: "node.kubernetes.io/os"
Expand Down

0 comments on commit e8028ca

Please sign in to comment.