Commit be28b89
authored
[CI] Attach pod disruption budgets to runner pods (#523)
This patch adds some pod disruption budgets to runner pods that just
sets the minimum number of available pods to the maximum. This ensure
that the number of pods that k8s calculates can be disrupted is zero.
This means that when GKE is updating the node pool, it must wait an hour
before forcibly evicting the pod, giving it time to finish. Before this,
when GKE wanted to upgrade a node, it would forcibly evict the pod very
quickly (theoretically after the grace period which has a default of
30s) not realizing it is stateful.1 parent 03dad18 commit be28b89
File tree
2 files changed
+40
-0
lines changed- premerge
- premerge_resources
2 files changed
+40
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
261 | 291 | | |
262 | 292 | | |
263 | 293 | | |
| |||
0 commit comments