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

Timezone for PODs



Hi.

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

​The host is configured with CET (UTC+1)​:

[root infra201 ~]# date
Mon Feb 22 14:51:04 CET 2016


But the docker-registry is using (UTC-5):

[root infra201 ~]# docker ps
CONTAINER ID        IMAGE                                           COMMAND                  CREATED             STATUS              PORTS               NAMES
0e93de6c9932        openshift3/ose-docker-registry:v3.1.1.6         "/bin/sh -c 'DOCKER_R"   9 minutes ago       Up 9 minutes                            k8s_registry.2778284a_docker-registry-3-f4ow3_default_ee01b329-d969-11e5-a55b-005056a980b9_a96c38da

[root infra201 ~]# docker logs 0e93de6c9932
time="2016-02-22T08:41:31.069522082-05:00" level=info msg="version=v2.1.0+unknown"
[root svvuoseinfra201 ~]#
​Is there a preferred way to make OpenShift inject timezone info ​into containers?

​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

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