X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fhelm%2Ftemplates%2Ftiller.yml;h=3f914c936350badf2723a98e53cc8765efae218c;hb=241b421f0d0968363d74925de8bfc056a4f5b2a5;hp=e5641ffe377184b439ab185440b4ba9ad0723f86;hpb=d76dcc93aa915bd8a0f7f36e47b90d5178203044;p=ta%2Fcaas-helm.git diff --git a/ansible/roles/helm/templates/tiller.yml b/ansible/roles/helm/templates/tiller.yml index e5641ff..3f914c9 100644 --- a/ansible/roles/helm/templates/tiller.yml +++ b/ansible/roles/helm/templates/tiller.yml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. #} --- -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: tiller @@ -26,16 +26,10 @@ spec: {{ caas.kubernetes_component_label }}: tiller template: metadata: - annotations: - danm.k8s.io/interfaces: | - [ - { - "network":"flannel" - } - ] labels: {{ caas.kubernetes_component_label }}: tiller spec: + priorityClassName: "system-cluster-critical" dnsPolicy: ClusterFirst nodeSelector: nodename: caas_master1 @@ -49,6 +43,9 @@ spec: value: "{{ caas.internal_flannel_interface }}" - name: TILLER_PORT value: "{{ caas.tiller_port }}" + resources: + requests: + cpu: "10m" volumeMounts: - name: time-mount mountPath: /etc/localtime