X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fkube_master%2Ftemplates%2Fcm.yml;h=7950af227f040567966a95d93218a1e8ceede52a;hb=refs%2Fchanges%2F69%2F1069%2F1;hp=ddd616ad215b3c422b72e4a4dfe1a743dc3f14ae;hpb=8321feb501701dcb4023e3c052cb6a982d5db3fa;p=ta%2Fcaas-kubernetes.git diff --git a/ansible/roles/kube_master/templates/cm.yml b/ansible/roles/kube_master/templates/cm.yml index ddd616a..7950af2 100644 --- a/ansible/roles/kube_master/templates/cm.yml +++ b/ansible/roles/kube_master/templates/cm.yml @@ -47,7 +47,13 @@ spec: port: 10252 initialDelaySeconds: 15 timeoutSeconds: 1 + resources: + requests: + cpu: "10m" volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: secret-kubernetes mountPath: /etc/kubernetes/ssl readOnly: true @@ -61,6 +67,9 @@ spec: mountPath: /etc/kubernetes/kubeconfig readOnly: true volumes: + - name: time-mount + hostPath: + path: /etc/localtime - name: secret-kubernetes hostPath: path: /etc/kubernetes/ssl