Skip to content

Implement SIGTERM-only ordered configurable preStop lifecycle (#110)#112

Open
dciangot wants to merge 7 commits intomainfrom
feature/prestop-lifecycle
Open

Implement SIGTERM-only ordered configurable preStop lifecycle (#110)#112
dciangot wants to merge 7 commits intomainfrom
feature/prestop-lifecycle

Conversation

@dciangot
Copy link
Member

Implements issue #110: adds preStop lifecycle support (exec and http), config flags EnablePreStop and PreStopTimeoutSeconds, generates preStop functions and SIGTERM trap in job scripts, and docs. Default disabled for backwards compatibility.

…ContainerCommand

Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
Signed-off-by: Diego Ciangottini <diego.ciangottini@pg.infn.it>
@dciangot
Copy link
Member Author

@copilot add postStart too

Copy link

Copilot AI commented Jan 28, 2026

@dciangot I've opened a new pull request, #114, to work on those changes. Once the pull request is ready, I'll request review from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants