jenkinsci / kubernetes-operator

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

feat: expose jenkins master terminationGracePeriodSeconds #1012

Closed DionJones615 closed 3 months ago

DionJones615 commented 4 months ago

Changes

This allows the setting of terminationGracePeriodSeconds on the jenkins pod. Without this, the default setting in kubernetes is 30s, which is not nearly enough time to perform the final backup on large systems, especially if using custom backup/restore scripts.

fix: #1015

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you review them:

See the contribution guide for more details.

Reviewer Notes

If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS.

Release Notes

- Exposed the pod-scoped argument `terminationGracePeriodSeconds`