Skip to content

Grace period for pod deletion set to 0 doesn't allow for graceful termination of apps #99

@mmallonqcif

Description

@mmallonqcif

// specify gracePeriod 0, this was the default in previous version of the fabric8 k8s client

Is it possible to make the grace period for deleting a pod configurable? As this currently stands, a pod is sent a kill -s SIGKILL immediately after a user presses the stop app button. Ideally, this would be customisable so that a container can instead get a kill -s SIGTERM and trap that to perform resource cleanup. The example I've hit is running rstudio server in ShinyProxy needs time to send a SIGUSR1 to gracefully clean up a running rsession. As things stand, if you have persistent storage under the rstudio user home directory, on restarting the app, a user is presented with an error message stating the previous session was abnormally terminated due to an unexpected crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions