Skip to content
Discussion options

You must be logged in to vote

@janis-ax Thanks for your kind words. Here's what GPT-4 says about your question above, I think it answers it well:

By default, Kubernetes uses UTC for all timestamps and time-related operations. It's recommended to keep this default setting for consistency and to avoid potential issues. Changing the time zone of a cluster-wide environment could lead to confusing behavior and unexpected results.

However, if you still need to change it for specific workloads like CronJobs, you could set the time zone at the container level. This would not affect the entire cluster but just the individual containers.

There are several ways to set the timezone for a container:

Using an environment variable:

Y…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@janis-ax
Comment options

Answer selected by janis-ax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants