<p>I am currently using emailing alerts for our application. One of the contents of the email is the start and end time of the alert but they are displaying as UTC+0000.</p>
<p>Tried using  .Start.Local.Format but realized that the only time that alertmanager pod has it UTC+0000. Was wondering if there is a way I can set the pod timezone</p>

CC28
<p>You can change the timezone of pods by using <a href="https://evalle.github.io/blog/20200914-kubernetes-tz" rel="nofollow noreferrer">volumes and volumeMount</a>s  to specify the timezone, like :</p>
<pre><code>volumeMounts:
    - name: tz-config
      mountPath: /etc/localtime
  volumes:
    - name: tz-config
      hostPath:
        path: /usr/share/zoneinfo/America/Chicago
</code></pre>
<p>Or you can use the &quot;TZ&quot; environment variable in the container section inside the pod spec, to configure the desired time zone:</p>
<pre><code>spec:
 containers:
  - name:
  foo-bar
  image: foobar:latest
  imagePullPolicy: Always
  env:
   - name: TZ
   value: America/Chicago
</code></pre>
<p>This changes the timezone displayed by the pod, which you can confirm using &quot;kubectl exec POD date&quot;.</p>
<p>The Default Dashboards Timezone is utc. Attaching the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" rel="nofollow noreferrer">list of timezones</a> for reference.</p>
