Manifest update
[ta/caas-kubernetes.git] / ansible / roles / kube_master / templates / apiserver.yml
index d083f1c..5390c5b 100644 (file)
@@ -29,7 +29,13 @@ spec:
       command:
         - "/kube-apiserver"
         {{ apiserver_params | to_nice_yaml | indent(8) }}
+      resources:
+        requests:
+          cpu: "50m"
       volumeMounts:
+        - name: time-mount
+          mountPath: /etc/localtime
+          readOnly: true
         - name: secret-kubernetes
           mountPath: /etc/kubernetes/ssl
           readOnly: true
@@ -46,6 +52,9 @@ spec:
           mountPath: {{ caas.caas_policy_directory }}
           readOnly: true
   volumes:
+    - name: time-mount
+      hostPath:
+        path: /etc/localtime
     - name: secret-kubernetes
       hostPath:
         path: /etc/kubernetes/ssl