Confusion about how to update kubernetes jobs Confusion about how to update kubernetes jobs kubernetes kubernetes

Confusion about how to update kubernetes jobs


I am not sure if there is any fancy way to trigger a completed job, but one way to do it can be to delete and recreate the job.

Re: rolling-update: that is required for long running pods, which is what RCs control.For jobs: You can update the podTemplateSpec in jobSpec and that will ensure that any new pod created by the job after the update will have the updated podTemplateSpec (note: already running pods will not be affected).

Hope this helps!