What happens to a running process if kubernetes pod restarts

Viewed 31

Let say I have a cron running in some pod and it takes around 1min to complete. At this time if kubernetes pod restarts(because of any reason) what will happen to the process.

I am sure it will be killed and i am sure other pod will come up by that time, but that current process will be killed. Is there any fix for this?

I am sorry i don't have much knowledge in k8

Thank You

0 Answers
Related