Skip to content

Commit 56b7f25

Browse files
authored
Merge pull request #85 from windmill-labs/alp/terminationGracePeriod
update default terminationGracePeriodSeconds
2 parents b16f8c2 + f8f6599 commit 56b7f25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/windmill/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Windmill - Turn scripts into endpoints, workflows and UIs in minutes
175175
| windmill.workerGroups[0].podSecurityContext.runAsUser | int | `0` | run as user. The default is 0 for root user |
176176
| windmill.workerGroups[0].replicas | int | `3` | |
177177
| windmill.workerGroups[0].resources | object | `{"limits":{"cpu":"1","memory":"2Gi"}}` | Resource limits and requests for the pods |
178-
| windmill.workerGroups[0].terminationGracePeriodSeconds | int | `300` | If a job is being ran, the container will wait for it to finish before terminating until this grace period |
178+
| windmill.workerGroups[0].terminationGracePeriodSeconds | int | `604800` | If a job is being ran, the container will wait for it to finish before terminating until this grace period |
179179
| windmill.workerGroups[0].tolerations | list | `[]` | Tolerations to apply to the pods |
180180
| windmill.workerGroups[0].volumeMounts | list | `[]` | |
181181
| windmill.workerGroups[0].volumes | list | `[]` | |

charts/windmill/templates/worker-groups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
{{- toYaml . | nindent 6 }}
5050
{{- end }}
5151
{{ end }}
52-
terminationGracePeriodSeconds: {{ default 300 $v.terminationGracePeriodSeconds }}
52+
terminationGracePeriodSeconds: {{ default 604800 $v.terminationGracePeriodSeconds }}
5353
containers:
5454
{{- with $v.extraContainers }}
5555
{{- toYaml . | nindent 6 }}

charts/windmill/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ windmill:
7878
annotations: {}
7979

8080
# -- If a job is being ran, the container will wait for it to finish before terminating until this grace period
81-
terminationGracePeriodSeconds: 300
81+
terminationGracePeriodSeconds: 604800
8282

8383
# -- Labels to apply to the pods
8484
labels: {}

0 commit comments

Comments
 (0)