-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtiller.yaml
100 lines (100 loc) · 2.22 KB
/
tiller.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
---
apiVersion: {{GetRBACAPIVersion}}
kind: ClusterRoleBinding
metadata:
name: tiller
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
---
apiVersion: v1
kind: Service
metadata:
labels:
app: helm
name: tiller
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
name: tiller-deploy
namespace: kube-system
spec:
ports:
- name: tiller
port: 44134
targetPort: tiller
selector:
app: helm
name: tiller
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: helm
name: tiller
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
name: tiller-deploy
namespace: kube-system
spec:
selector:
matchLabels:
app: helm
name: tiller
template:
metadata:
labels:
app: helm
name: tiller
spec:
serviceAccountName: tiller
containers:
- env:
- name: TILLER_NAMESPACE
value: kube-system
- name: TILLER_HISTORY_MAX
value: "{{ContainerConfig "max-history"}}"
image: {{ContainerImage "tiller"}}
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /liveness
port: 44135
initialDelaySeconds: 1
timeoutSeconds: 1
name: tiller
ports:
- containerPort: 44134
name: tiller
readinessProbe:
httpGet:
path: /readiness
port: 44135
initialDelaySeconds: 1
timeoutSeconds: 1
resources:
requests:
cpu: {{ContainerCPUReqs "tiller"}}
memory: {{ContainerMemReqs "tiller"}}
limits:
cpu: {{ContainerCPULimits "tiller"}}
memory: {{ContainerMemLimits "tiller"}}
nodeSelector:
kubernetes.io/os: linux