| {%- from "kubernetes/map.jinja" import master with context %} |
| apiVersion: extensions/v1beta1 |
| kind: Deployment |
| metadata: |
| annotations: |
| labels: |
| app: helm |
| name: tiller |
| addonmanager.kubernetes.io/mode: Reconcile |
| name: tiller-deploy |
| namespace: kube-system |
| spec: |
| replicas: 1 |
| selector: |
| matchLabels: |
| app: helm |
| name: tiller |
| template: |
| metadata: |
| labels: |
| app: helm |
| name: tiller |
| spec: |
| tolerations: |
| - key: node-role.kubernetes.io/master |
| effect: NoSchedule |
| containers: |
| - image: {{ master.addons.helm.tiller_image }} |
| imagePullPolicy: IfNotPresent |
| resources: |
| requests: |
| memory: "128Mi" |
| cpu: "250m" |
| limits: |
| memory: "256Mi" |
| cpu: "500m" |
| livenessProbe: |
| failureThreshold: 3 |
| httpGet: |
| path: /liveness |
| port: 44135 |
| scheme: HTTP |
| initialDelaySeconds: 1 |
| periodSeconds: 10 |
| successThreshold: 1 |
| timeoutSeconds: 1 |
| name: tiller |
| ports: |
| - containerPort: 44134 |
| name: tiller |
| protocol: TCP |
| readinessProbe: |
| failureThreshold: 3 |
| httpGet: |
| path: /readiness |
| port: 44135 |
| scheme: HTTP |
| initialDelaySeconds: 1 |
| periodSeconds: 10 |
| successThreshold: 1 |
| timeoutSeconds: 1 |
| resources: {} |
| terminationMessagePath: /dev/termination-log |
| dnsPolicy: ClusterFirst |
| restartPolicy: Always |
| securityContext: {} |
| terminationGracePeriodSeconds: 30 |