<p>I had a question about the timezone used by my Kubernetes Cluster. I know I can adjust the timezone of the pods(<a href="https://evalle.xyz/posts/kubernetes-tz/" rel="noreferrer">https://evalle.xyz/posts/kubernetes-tz/</a>). </p>

<p>However, I want to make sure my Cluster always uses UTC in the time zone. Is this a default option or can it change over time?</p>

sumeyyeemir
<p>Have a look at the documentation <a href="https://cloud.google.com/container-optimized-os/docs/concepts/features-and-benefits#using_container-optimized_os" rel="noreferrer">Using Container-Optimized OS</a>:</p>

<blockquote>
  <p><strong>Container-Optimized OS is the default node OS Image in Kubernetes
  Engine</strong> and other Kubernetes deployments on Google Cloud Platform.</p>
</blockquote>

<p>then move to the <a href="https://cloud.google.com/container-optimized-os/docs/how-to/create-configure-instance#changing_the_time_zone" rel="noreferrer">Changing the time zone</a> for Container-Optimized OS:</p>

<blockquote>
  <p>The <strong>default time zone</strong> of Container-Optimized OS is <strong>UTC0</strong>.</p>
</blockquote>

<p>and</p>

<blockquote>
  <p>Note that /etc is stateless, so the timezone will be reset to the
  default (UTC0) every reboot.</p>
</blockquote>

<p>So, if you don't change <code>Image type</code> for your nodes from default Container-Optimized OS to Ubuntu you have nothing to do with time zone settings.</p>

<p>In addition, I've checked on my cluster:</p>

<pre><code>$ date
Tue Feb  4 09:15:51 UTC 2020
$ ls -l /etc/ | grep localtime
lrwxrwxrwx 1 root root    25 Jan 29 08:37 localtime -&gt; ../usr/share/zoneinfo/UTC
</code></pre>
