We are running a daily cronjob on GKE. This job is executed on spot nodes. The container respects the SIGTERM
and gracefully shuts down. However, this is then marked as successful and not restarted. How can I ensure that this job is restarted on a different node?
I've read https://kubernetes.io/docs/concepts/architecture/nodes/#graceful-node-shutdown and https://kubernetes.io/docs/concepts/workloads/controllers/job/#handling-pod-and-container-failures, but I see nothing in there that helps me.