Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Purpose of localtime volume in helm charts

...

You can specify the TZ variable in a Kubernetes Pod or Deployment definition:




Code Block
languageyml
apiVersion: v1
kind: Pod
metadata:
  name: timezone-example
spec:
  containers:
  - name: myapp
    image: myapp:latest
    env:
    - name: TZ
      value: "America/New_York"


3. In a Helm Chart

In your Helm values or templates:




Code Block
languageyml
env:
  - name: TZ
    value: "America/New_York"


Examples of Timezones You Can Use

...