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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
env:
- name: TZ
value: "America/New_York" |
Examples of Timezones You Can Use
...