X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fkube_master%2Ftemplates%2Fapiserver.yml;h=5390c5b8c115c2fbd7421044cb5af381769be324;hb=7217b21bf3a9bf9a412bea2e69bda7a9f8c03592;hp=d083f1c861e6aefc5466c7064c54c1b9d4460ff2;hpb=8321feb501701dcb4023e3c052cb6a982d5db3fa;p=ta%2Fcaas-kubernetes.git diff --git a/ansible/roles/kube_master/templates/apiserver.yml b/ansible/roles/kube_master/templates/apiserver.yml index d083f1c..5390c5b 100644 --- a/ansible/roles/kube_master/templates/apiserver.yml +++ b/ansible/roles/kube_master/templates/apiserver.yml @@ -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