Skip to content

Commit

Permalink
receive: Extend shutdown grace period to 900s
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
  • Loading branch information
brancz committed Apr 28, 2020
1 parent f38c746 commit 490c6c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel

### Changed

-
- [#118](/~https://github.com/thanos-io/kube-thanos/pull/118) receive: Extend shutdown grace period to 900s (15min).

### Added

Expand Down
2 changes: 1 addition & 1 deletion examples/all/manifests/thanos-receive-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
- mountPath: /var/thanos/receive
name: data
readOnly: false
terminationGracePeriodSeconds: 120
terminationGracePeriodSeconds: 900
volumes: []
volumeClaimTemplates:
- metadata:
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-receive.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
sts.mixin.metadata.withNamespace(tr.config.namespace) +
sts.mixin.metadata.withLabels(tr.config.commonLabels) +
sts.mixin.spec.withServiceName(tr.service.metadata.name) +
sts.mixin.spec.template.spec.withTerminationGracePeriodSeconds(120) +
sts.mixin.spec.template.spec.withTerminationGracePeriodSeconds(900) +
sts.mixin.spec.template.spec.withVolumes([
volume.fromEmptyDir('data'),
]) +
Expand Down

0 comments on commit 490c6c6

Please sign in to comment.