Commit c83db48
authored
Add a job TTL such that they don't hang around forever (#75)
* Fix comment line location - it somehow got into the wrong spot.
* Add a job TTL such that they don't hang around forever
After a job completes, the pod does not need to stay on the cluster
as a "completed" pod forever. It just takes up kubernetes state
space when it has long since completed. Keeping it around for a
while after completing allows for inspection but once that time
has been reached, it should evaporate and no longer take up state
space. (Jobs don't restart once completed so they are not very
useful and in larger clusters the state space becomes a bottleneck)1 parent cec463a commit c83db48
File tree
4 files changed
+9
-2
lines changed- helm/vmss-prototype
- templates
- vmss-prototype
4 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
420 | 421 | | |
421 | 422 | | |
422 | 423 | | |
423 | | - | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
0 commit comments