Cloud Native: gitlab-runner deployment lacks graceful shutdown
Summary
The Deployment for gitlab-runner lacks any support for a graceful shutdown.
Actual behavior
Without any life-cycle definitions, k8s will send a SIGTERM (aka forceful shutdown, which will abort all running builds) followed 30 seconds later by a SIGKILL.
Expected behavior
Shutdown the runner with a graceful shutdown, to at least allow some builds to finish, and define a large enough grace period by default.
Relevant logs and/or screenshots
job log
Add the job log
Environment description
config.toml contents
Add your configuration here