-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcfcr.yml
376 lines (375 loc) · 9.45 KB
/
cfcr.yml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
addons:
- include:
stemcells:
- os: ubuntu-trusty
- os: ubuntu-xenial
jobs:
- name: bosh-dns
properties:
api:
client:
tls: ((/dns_api_client_tls))
server:
tls: ((/dns_api_server_tls))
cache:
enabled: true
health:
client:
tls: ((/dns_healthcheck_client_tls))
enabled: true
server:
tls: ((/dns_healthcheck_server_tls))
release: bosh-dns
name: bosh-dns
- jobs:
- name: kubo-dns-aliases
release: kubo
name: bosh-dns-aliases
features:
use_dns_addresses: true
instance_groups:
- azs:
- z1
instances: 1
jobs:
- name: apply-specs
properties:
addons:
- kube-dns
- metrics-server
- heapster
- kubernetes-dashboard
admin-password: ((kubo-admin-password))
admin-username: admin
api-token: ((kubelet-password))
tls:
heapster: ((tls-heapster))
influxdb: ((tls-influxdb))
kubernetes: ((tls-kubernetes))
kubernetes-dashboard: ((tls-kubernetes-dashboard))
metrics-server: ((tls-metrics-server))
release: kubo
lifecycle: errand
name: apply-addons
networks:
- name: default
stemcell: default
vm_type: minimal
- azs:
- z1
- z2
- z3
instances: 3
jobs:
- name: bpm
release: bpm
- name: flanneld
release: kubo
- name: kube-apiserver
properties:
admin-password: ((kubo-admin-password))
admin-username: admin
backend_port: 8443
kube-controller-manager-password: ((kube-controller-manager-password))
kube-proxy-password: ((kube-proxy-password))
kube-scheduler-password: ((kube-scheduler-password))
kubelet-drain-password: ((kubelet-drain-password))
kubelet-password: ((kubelet-password))
port: 8443
route-sync-password: ((route-sync-password))
service-account-public-key: ((service-account-key.public_key))
tls:
kubelet-client: ((tls-kubelet-client))
kubernetes:
ca: ((tls-kubernetes.ca))
certificate: ((tls-kubernetes.certificate))
private_key: ((tls-kubernetes.private_key))
release: kubo
- name: kube-controller-manager
properties:
api-token: ((kube-controller-manager-password))
cluster-signing: ((kubo_ca))
service-account-private-key: ((service-account-key.private_key))
tls:
kubernetes: ((tls-kubernetes))
release: kubo
- name: kube-scheduler
properties:
api-token: ((kube-scheduler-password))
tls:
kubernetes: ((tls-kubernetes))
release: kubo
- name: kubernetes-roles
properties:
admin-password: ((kubo-admin-password))
admin-username: admin
tls:
kubernetes: ((tls-kubernetes))
release: kubo
- name: etcd
properties:
etcd:
dns_suffix: etcd.cfcr.internal
tls:
etcd:
ca: ((tls-etcd-v0-17-0.ca))
certificate: ((tls-etcd-v0-17-0.certificate))
private_key: ((tls-etcd-v0-17-0.private_key))
etcdctl:
ca: ((tls-etcdctl.ca))
certificate: ((tls-etcdctl.certificate))
private_key: ((tls-etcdctl.private_key))
peer:
ca: ((tls-etcd-v0-17-0.ca))
certificate: ((tls-etcd-v0-17-0.certificate))
private_key: ((tls-etcd-v0-17-0.private_key))
release: cfcr-etcd
- name: smoke-tests
release: kubo
name: master
networks:
- name: default
persistent_disk: 5120
stemcell: default
vm_type: small
- azs:
- z1
- z2
- z3
instances: 3
jobs:
- name: flanneld
release: kubo
- name: docker
properties:
bridge: cni0
default_ulimits:
- nofile=65536
env: {}
flannel: true
ip_masq: false
iptables: false
log_level: error
log_options:
- max-size=128m
- max-file=2
storage_driver: overlay2
store_dir: /var/vcap/data
tls_cacert: ((tls-docker.ca))
tls_cert: ((tls-docker.certificate))
tls_key: ((tls-docker.private_key))
release: docker
- name: kubernetes-dependencies
release: kubo
- name: kubelet
properties:
api-token: ((kubelet-password))
drain-api-token: ((kubelet-drain-password))
tls:
kubelet: ((tls-kubelet))
kubelet-client-ca:
certificate: ((tls-kubelet-client.ca))
kubernetes: ((tls-kubernetes))
release: kubo
- name: kube-proxy
properties:
api-token: ((kube-proxy-password))
tls:
kubernetes: ((tls-kubernetes))
release: kubo
name: worker
networks:
- name: default
stemcell: default
vm_type: small-highmem
name: cfcr
releases:
- name: kubo
sha1: 990393dd12ff18b08983c10a9b913eea54902abd
stemcell:
os: ubuntu-xenial
version: "97.15"
url: https://s3.amazonaws.com/cfcr-compiled-deployment/kubo/kubo-0.21.0-ubuntu-xenial-97.15-20180829-223954-596717276-20180829224016.tgz
version: 0.21.0
- name: cfcr-etcd
sha1: e10ff7087e117fbe69408855251b4c8a14d40f6a
stemcell:
os: ubuntu-xenial
version: "97.15"
url: https://s3.amazonaws.com/cfcr-compiled-deployment/cfcr-etcd/cfcr-etcd-1.4.0-ubuntu-xenial-97.15-20180829-223901-560967876-20180829223909.tgz
version: 1.4.0
- name: docker
sha1: 4a8448d61e286bdbad2c4ec1e43baf408df83313
stemcell:
os: ubuntu-xenial
version: "97.15"
url: https://s3.amazonaws.com/cfcr-compiled-deployment/docker/docker-32.0.0-ubuntu-xenial-97.15-20180829-223928-289540962-20180829223936.tgz
version: 32.0.0
- name: bosh-dns
sha1: 69a6d75c4530e04e994970fd4d7dc903f0d9dac5
stemcell:
os: ubuntu-xenial
version: "97.15"
url: https://s3.amazonaws.com/cfcr-compiled-deployment/bosh-dns/bosh-dns-1.8.0-ubuntu-xenial-97.15-20180829-224034-102325224-20180829224042.tgz
version: 1.8.0
- name: bpm
sha1: c38e22be570d90dce3563ab1add7235995c507aa
stemcell:
os: ubuntu-xenial
version: "97.15"
url: https://s3.amazonaws.com/cfcr-compiled-deployment/bpm/bpm-0.12.2-ubuntu-xenial-97.15-20180829-223712-616867701-20180829223719.tgz
version: 0.12.2
stemcells:
- alias: default
os: ubuntu-xenial
version: 97.latest
update:
canaries: 1
canary_watch_time: 10000-300000
max_in_flight: 1
update_watch_time: 10000-300000
variables:
- name: kubo-admin-password
type: password
- name: kubelet-password
type: password
- name: kubelet-drain-password
type: password
- name: kube-proxy-password
type: password
- name: kube-controller-manager-password
type: password
- name: kube-scheduler-password
type: password
- name: route-sync-password
type: password
- name: kubo_ca
options:
common_name: ca
is_ca: true
type: certificate
- name: tls-kubelet
options:
alternative_names: []
ca: kubo_ca
common_name: kubelet.cfcr.internal
organization: system:nodes
type: certificate
- name: tls-kubelet-client
options:
ca: kubo_ca
common_name: kube-apiserver.cfcr.internal
extended_key_usage:
- client_auth
organization: system:masters
type: certificate
- name: tls-kubernetes
options:
alternative_names:
- 10.100.200.1
- kubernetes
- kubernetes.default
- kubernetes.default.svc
- kubernetes.default.svc.cluster.local
- master.cfcr.internal
ca: kubo_ca
common_name: master.cfcr.internal
organization: system:masters
type: certificate
- name: service-account-key
type: rsa
- name: tls-docker
options:
ca: kubo_ca
common_name: docker.cfcr.internal
type: certificate
- name: tls-etcd-v0-17-0
options:
ca: kubo_ca
common_name: '*.etcd.cfcr.internal'
extended_key_usage:
- client_auth
- server_auth
type: certificate
- name: tls-etcdctl
options:
ca: kubo_ca
common_name: etcdClient
extended_key_usage:
- client_auth
type: certificate
- name: tls-metrics-server
options:
alternative_names:
- metrics-server.kube-system.svc
ca: kubo_ca
common_name: metrics-server
type: certificate
- name: tls-heapster
options:
alternative_names:
- heapster.kube-system.svc.cluster.local
ca: kubo_ca
common_name: heapster
type: certificate
- name: tls-influxdb
options:
alternative_names: []
ca: kubo_ca
common_name: monitoring-influxdb
type: certificate
- name: kubernetes-dashboard-ca
options:
common_name: ca
is_ca: true
type: certificate
- name: tls-kubernetes-dashboard
options:
alternative_names: []
ca: kubernetes-dashboard-ca
common_name: kubernetesdashboard.cfcr.internal
type: certificate
- name: /dns_healthcheck_tls_ca
opsname: global_dns_healthcheck_tls_ca
options:
common_name: dns-healthcheck-tls-ca
is_ca: true
type: certificate
- name: /dns_healthcheck_server_tls
opsname: global_dns_healthcheck_server_tls
options:
ca: /dns_healthcheck_tls_ca
common_name: health.bosh-dns
extended_key_usage:
- server_auth
type: certificate
- name: /dns_healthcheck_client_tls
opsname: global_dns_healthcheck_client_tls
options:
ca: /dns_healthcheck_tls_ca
common_name: health.bosh-dns
extended_key_usage:
- client_auth
type: certificate
- name: /dns_api_tls_ca
opsname: global_dns_api_tls_ca
options:
common_name: dns-api-tls-ca
is_ca: true
type: certificate
- name: /dns_api_server_tls
opsname: global_dns_api_server_tls
options:
ca: /dns_api_tls_ca
common_name: api.bosh-dns
extended_key_usage:
- server_auth
type: certificate
- name: /dns_api_client_tls
opsname: global_dns_api_client_tls
options:
ca: /dns_api_tls_ca
common_name: api.bosh-dns
extended_key_usage:
- client_auth
type: certificate