Repository navigation
fix(chart): honor terminationGracePeriodSeconds when scalingType is job - #3333
Open
TOMASEZARATE wants to merge 1 commit into
Open
TOMASEZARATE wants to merge 1 commit into
TOMASEZARATE wants to merge 1 commit into
Conversation
Assisted-by: Cursor Agent with Grok 4.7
Contributor
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Description
Fixes #3213
seleniumGrid.node.terminationGracePeriodSecondsin_helpers.tplreturned a hardcoded30whenautoscaling.scalingTypeisjob, so neitherautoscaling.terminationGracePeriodSecondsnor the per-node value was applied. Jobs now use the same rule as deployments: the larger of the global and the node value.helm templateoutput for the Chrome node:chromeNode.terminationGracePeriodSeconds=7200autoscaling.terminationGracePeriodSeconds=7200Note that with the default values a job now gets 3600 instead of 30, the same as a deployment, because the global value is applied now. CONFIGURATION.md was regenerated with helm-docs.
Motivation and Context
Users running KEDA with
scalingType: jobcouldn't extend the grace period for long-running sessions, while the same config worked withdeployment.Types of changes
Checklist
I used an AI assistant (Cursor Agent with Grok 4.7) while writing this change. I reviewed the code myself, and the commit has an Assisted-by trailer.