Set time zone 31/731/2
authorSzekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
Fri, 17 May 2019 08:27:57 +0000 (10:27 +0200)
committerRaghurama Mendru <raghurama.mendru@nokia.com>
Tue, 21 May 2019 21:41:56 +0000 (21:41 +0000)
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) <balazs.szekeres@nokia.com>
ansible/roles/kubedns/templates/kubedns-deployment.yml

index d60e692..bd55989 100644 (file)
@@ -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