jenkinsci / kubernetes-operator

Kubernetes native Jenkins Operator
https://jenkinsci.github.io/kubernetes-operator
Other
598 stars 233 forks source link

Expose `TerminationGracePeriodSeconds` from jenkins-master pod spec #1015

Closed DionJones615 closed 3 months ago

DionJones615 commented 4 months ago

Describe the solution you'd like I want to set the TerminationGracePeriodSeconds attribute on the jenkins master pod so that long-running backups can complete before pod termination.

When the jenkins master pod receives a shutdown signal from kubernetes, the jenkins-operator initiates a final backup. If that backup takes > 30s to complete, it will be forcibly killed.

Describe alternatives you've considered No reasonable alternatives found