Tell us about your request
Enable to change EKS cluster timezone
Which service(s) is this request for?
EKS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I manage a product deployed on-premise k8s cluster contains some cronjobs, and all servers run on JST. Now I try to run it on AWS with EKS and would like to use the same k8s manifest YAML.
AFAIK EKS cluster timezone cannot be changed from UTC, so it wouldn't be done.
Are you currently working around this issue?
Have two k8s manifests per a cronjob.
Just my opinion: servers should always run with UTC.
@devkid It makes sense and I think so too basically. Existing several timezones makes us confused.
Although many engineers and customers, including me, are with their timezones (not UTC).
If all servers are dedicated to run an application for a country with single timezone, and all customers and developers live and work in the timezone, is it strange for you their servers run with their timezone?
@whereisaaron Thanks for the reference. It provides much information for me, k8s newbie:baby:
and i found a good repository hiddeco/cronjobber.
But in my issue I want "means I can change timezone of EKS cluster", and does not "set some different timezones for different cronjobs".
https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/
Note: All CronJob schedule: times are based on the timezone of the master where the job is initiated.
I say the timezone of the master should be able to change on EKS.
Most helpful comment
Just my opinion: servers should always run with UTC.