Issue
Found issue on timezone error. Cron expression on CronJob yaml file and pod can have different timezone.
Solution
- Add tzdata on alphine linux docker image
- Add environment variable
TZ
in cronjob’s yaml file
dockerfile example
cronjob yaml example
docker run example
Referenced