Cron jobs are Jobs that can be run on a schedule. Every cronjob creates a Job object on a schedule. Example: running analytics every night.
apiVersion: batch/v1
kind: CronJob
metadata:
name: analytics
spec:
schedule: "* * * * *"
jobTemplate:
spec:
completions: 3
parallelism: 3
template:
spec:
restartPolicy: Never
containers:
- name: analytics
image: analytics
k get cronjobs
k get jobs
k get pods