Containers time zone sync
[oom.git] / kubernetes / message-router / templates / message-router-zookeeper.yaml
index c07ef3a..0377beb 100644 (file)
@@ -25,10 +25,16 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /opt/zookeeper-3.4.9/data
           name: zookeeper-data
       restartPolicy: Always
       volumes:
+      - name: localtime
+        hostPath:
+          path: /etc/localtime
       - name: zookeeper-data
         persistentVolumeClaim:
           claimName: message-router-zookeeper