Containers time zone sync
[oom.git] / kubernetes / message-router / templates / message-router-kafka.yaml
index ab5c3d4..1564f9b 100644 (file)
@@ -62,6 +62,9 @@ spec:
         - name: KAFKA_PORT
           value: "9092"
         volumeMounts:
+        - mountPath: /etc/localtime
+          name: localtime
+          readOnly: true
         - mountPath: /var/run/docker.sock
           name: docker-socket
         - mountPath: /kafka
@@ -70,6 +73,9 @@ spec:
           name: start-kafka
       restartPolicy: Always
       volumes:
+      - name: localtime
+        hostPath:
+          path: /etc/localtime
       - name: docker-socket
         hostPath:
           path: /var/run/docker.sock