2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PodのTimeZoneを設定を設定する EKS

2
Last updated at Posted at 2019-11-13

KubernetesのTimezoneがdefault UTCになっている為、これを変更したい。
コンテナのenvにTZ:Asia/Tokyoを設定すればいいらしい。

      containers:
        env:
          - name: TZ
            value: Asia/Tokyo

まとめてやる方法もあるみたいだが、EKSではPodPresetが利用できないため、この設定ができなかった。
KubernetesのPodのタイムゾーンをまとめて設定

対応に関しては下記
参考:PodPreset is not yet available on EKS
参考:対応しているアドミッションコントローラーの一覧

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?