-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The Kubernetes Bible
By :

To close this first chapter on Pods, we will look at another Kubernetes resource called CronJob.
The name CronJob can mean two different things and it is important that we do not get confused with these:
cron
featureCronJob
resourceHistorically, CronJobs are commands scheduled using the cron Unix feature, which is the most robust way to schedule the execution of a command in Unix systems. This idea was later taken up in Kubernetes.
Be careful because even though the two ideas are similar, they don’t work the same at all. On Unix and other derived systems such as Unix, you schedule commands by editing a file called Crontab
, which is usually found in /etc/crontab
or related paths. In the world of Kubernetes, things are different: you are not going to schedule the execution of commands but the execution of Job resources, which themselves will create Pod resources. Keep...