From d774a0607423f7e397f5114a7d45df30de51094b Mon Sep 17 00:00:00 2001 From: "Szekeres, Balazs (Nokia - HU/Budapest)" Date: Fri, 17 May 2019 10:27:57 +0200 Subject: [PATCH] Set time zone Dns container now uses the host time zone settings. Dnsmasq container now uses the host time zone settings. reverify Change-Id: I59c9b94f67fcf93348d3a543ae44c67bcc65713a Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) --- ansible/roles/kubedns/templates/kubedns-deployment.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ansible/roles/kubedns/templates/kubedns-deployment.yml b/ansible/roles/kubedns/templates/kubedns-deployment.yml index d60e692..bd55989 100644 --- a/ansible/roles/kubedns/templates/kubedns-deployment.yml +++ b/ansible/roles/kubedns/templates/kubedns-deployment.yml @@ -42,6 +42,9 @@ spec: - key: "CriticalAddonsOnly" operator: "Exists" volumes: + - name: time-mount + hostPath: + path: /etc/localtime - name: secret hostPath: path: /etc/kubernetes/ssl @@ -106,6 +109,9 @@ spec: name: metrics protocol: TCP volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: secret mountPath: /etc/kubernetes/ssl readOnly: true @@ -152,6 +158,9 @@ spec: cpu: 150m memory: 20Mi volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: secret mountPath: /etc/kubernetes/ssl readOnly: true -- 2.16.6