Set time zone
[ta/caas-kubernetes.git] / ansible / roles / kube_master / templates / scheduler.yml
index 076b969..f8a9434 100644 (file)
@@ -42,6 +42,9 @@ spec:
           initialDelaySeconds: 15
           timeoutSeconds: 1
       volumeMounts:
+        - name: time-mount
+          mountPath: /etc/localtime
+          readOnly: true
         - name: secret-kubernetes
           mountPath: /etc/kubernetes/ssl
           readOnly: true
@@ -52,6 +55,9 @@ spec:
           mountPath: /etc/kubernetes/kubeconfig
           readOnly: true
   volumes:
+    - name: time-mount
+      hostPath:
+        path: /etc/localtime
     - name: secret-kubernetes
       hostPath:
         path: /etc/kubernetes/ssl