aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/message-router/templates/message-router-zookeeper.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/message-router/templates/message-router-zookeeper.yaml')
-rw-r--r--kubernetes/message-router/templates/message-router-zookeeper.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/message-router/templates/message-router-zookeeper.yaml b/kubernetes/message-router/templates/message-router-zookeeper.yaml
index c07ef3a8c8..0377beb05a 100644
--- a/kubernetes/message-router/templates/message-router-zookeeper.yaml
+++ b/kubernetes/message-router/templates/message-router-zookeeper.yaml
@@ -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