Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pod graceful timeout override #374

Merged
merged 7 commits into from
Nov 23, 2023
Merged

Conversation

guzzijones
Copy link
Contributor

add graceful timeout option for pods.
this will allow a user to override it in values.yaml.

we need this to to along with the graceful timeout settings in st2actionrunner and st2workflowengine.

@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label Sep 7, 2023
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very helpful!

Just requested a couple minor changes about defaults and docs for this setting.
Please also don't forget to include the Changelog.

@@ -1321,6 +1322,7 @@ spec:
{{- if and .Values.st2.packs.images (not .Values.st2.packs.volumes.enabled) }}
{{- include "stackstorm-ha.packs-initContainers" . | nindent 6 }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.st2actionrunner.terminationGracePeriodSeconds | default 300 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 300 default looks pretty much hidden from the user's perspective.

values.yaml Outdated Show resolved Hide resolved
@arm4b arm4b added the enhancement New feature or request label Sep 15, 2023
guzzijones and others added 3 commits October 30, 2023 15:59
add suggestion around terminationgraceperiodseconds

Co-authored-by: Eugen C. <1533818+armab@users.noreply.github.com>
@guzzijones
Copy link
Contributor Author

@armab I added the requested changes.

values.yaml Outdated Show resolved Hide resolved
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Thanks!

@cognifloyd cognifloyd merged commit 912dd75 into StackStorm:master Nov 23, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/XS PR that changes 0-9 lines. Quick fix/merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants