Kubernetes version 1.13.2
Recently I use Job to run some one time tasks (later switch back to regular pod because we want to control it’s start point), it’s just like other pod controller in K8s.
Job
Job setup pod, note that: hostname job-name, check env pass
volume mount
Job type
In upgrade, usage
CronJob
crontab