will run for a certain time and move to complete state. The process that runs in the pod is basically a Express server.
I used timeout command to terminate the process and listened for a SIGTERM signal in the express server to exit with code 0.
Still the Pod created by the Job is turning to error state and creates another pod for the job. Any idea why?
https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#job-termination-and-cleanup
Обсуждают сегодня