[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Timezone for PODs



Hi,

Am 22-02-2016 15:27, schrieb Per Carlson:
Hi.

It looks like PODs are logging with a different timezone than the host
system. This is of course cosmetic, but nevertheless annoying.

[snipp]

​Is there a preferred way to make OpenShift inject timezone info
​into containers?

I would suggest to set TZ in dc.

DC_NAME=$(oc get dc  -o name )
oc env ${DC_NAME} TZ=Europe/Vienna

http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

Cheers Aleks

​We are running OSE with:
​​oc v3.1.1.6
kubernetes v1.1.0-origin-1107-g4c8e6f4

--

Pelle

Research is what I'm doing when I don't know what I'm doing.
- Wernher von Braun
_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]