This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
/
cfcr.yml
360 lines (334 loc) · 8.5 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
name: cfcr
releases:
- name: kubo
version: latest
- name: cfcr-etcd
url: https://github.com/cloudfoundry-incubator/cfcr-etcd-release/releases/download/v1.3/cfcr-etcd-release-1.3.tgz
sha1: 72a9753b08980229c73b623c4ddeea59a5afc96f
version: '1.3'
- name: docker
url: https://github.com/cloudfoundry-incubator/docker-boshrelease/releases/download/v32.0.0/docker-32.0.0.tgz
sha1: f192296243e68150ae66656fc9134a2b2a023184
version: 32.0.0
- name: bosh-dns
sha1: 66e74bb601b691ea4836f859c556de8a5c6c1264
url: https://bosh.io/d/github.com/cloudfoundry/bosh-dns-release?v=1.5.0
version: 1.5.0
- name: bpm
sha1: 4f0f239abdc801d71de9063625aa56e3c42634b5
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bpm-release?v=0.6.0
version: 0.6.0
stemcells:
- alias: default
os: ubuntu-trusty
version: "3586.26"
addons:
- name: bosh-dns
include:
stemcells:
- os: ubuntu-trusty
jobs:
- name: bosh-dns
release: bosh-dns
properties:
api:
server:
tls: ((/dns_api_server_tls))
client:
tls: ((/dns_api_client_tls))
cache:
enabled: true
health:
enabled: true
server:
tls: ((/dns_healthcheck_server_tls))
client:
tls: ((/dns_healthcheck_client_tls))
- name: bosh-dns-aliases
jobs:
- name: kubo-dns-aliases
release: kubo
instance_groups:
- name: apply-addons
instances: 1
networks:
- name: default
azs: [z1]
lifecycle: errand
jobs:
- name: apply-specs
release: kubo
properties:
api-token: ((kubelet-password))
admin-username: admin
admin-password: ((kubo-admin-password))
tls:
kubernetes: ((tls-kubernetes))
heapster: ((tls-heapster))
influxdb: ((tls-influxdb))
kubernetes-dashboard: ((tls-kubernetes-dashboard))
stemcell: default
vm_type: minimal
- name: master
instances: 3
networks:
- name: default
azs: [z1,z2,z3]
jobs:
- name: bpm
release: bpm
- name: flanneld
release: kubo
- name: kube-apiserver
release: kubo
properties:
admin-username: admin
admin-password: ((kubo-admin-password))
kubelet-password: ((kubelet-password))
kube-proxy-password: ((kube-proxy-password))
kube-controller-manager-password: ((kube-controller-manager-password))
kube-scheduler-password: ((kube-scheduler-password))
route-sync-password: ((route-sync-password))
kubelet-drain-password: ((kubelet-drain-password))
backend_port: 8443 # Bosh links hack
port: 8443
service-account-public-key: ((service-account-key.public_key))
tls:
kubernetes:
ca: ((tls-kubernetes.ca))
certificate: ((tls-kubernetes.certificate))
private_key: ((tls-kubernetes.private_key))
kubelet-client: ((tls-kubelet-client))
- name: kube-controller-manager
release: kubo
properties:
api-token: ((kube-controller-manager-password))
cluster-signing: ((kubo_ca))
service-account-private-key: ((service-account-key.private_key))
tls:
kubernetes: ((tls-kubernetes))
- name: kube-scheduler
release: kubo
properties:
api-token: ((kube-scheduler-password))
tls:
kubernetes: ((tls-kubernetes))
- name: kubernetes-roles
release: kubo
properties:
admin-username: admin
admin-password: ((kubo-admin-password))
tls:
kubernetes: ((tls-kubernetes))
- name: etcd
release: cfcr-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))
- name: smoke-tests
release: kubo
stemcell: default
vm_type: small
persistent_disk: 5120
- name: worker
instances: 3
networks:
- name: default
azs: [z1,z2,z3]
jobs:
- name: flanneld
release: kubo
- name: docker
release: docker
properties:
bridge: cni0
flannel: true
iptables: false
ip_masq: false
log_level: error
log_options: [ "max-size=128m", "max-file=2" ]
store_dir: /var/vcap/data
storage_driver: overlay2
default_ulimits: [ "nofile=65536" ]
tls_cacert: ((tls-docker.ca))
tls_cert: ((tls-docker.certificate))
tls_key: ((tls-docker.private_key))
env: {}
- name: kubernetes-dependencies
release: kubo
- name: kubelet
release: kubo
properties:
api-token: ((kubelet-password))
drain-api-token: ((kubelet-drain-password))
tls:
kubernetes: ((tls-kubernetes))
kubelet: ((tls-kubelet))
kubelet-client-ca:
certificate: ((tls-kubelet-client.ca))
- name: kube-proxy
release: kubo
properties:
tls:
kubernetes: ((tls-kubernetes))
api-token: ((kube-proxy-password))
stemcell: default
vm_type: small-highmem
update:
canaries: 1
max_in_flight: 1
canary_watch_time: 10000-300000
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
type: certificate
options:
is_ca: true
common_name: ca
- name: tls-kubelet
type: certificate
options:
ca: kubo_ca
organization: "system:nodes"
common_name: kubelet.cfcr.internal
alternative_names: []
- name: tls-kubelet-client
type: certificate
options:
ca: kubo_ca
common_name: kube-apiserver.cfcr.internal
organization: "system:masters"
extended_key_usage:
- client_auth
- name: tls-kubernetes
type: certificate
options:
ca: kubo_ca
organization: "system:masters"
common_name: master.cfcr.internal
alternative_names:
- 10.100.200.1
- kubernetes
- kubernetes.default
- kubernetes.default.svc
- kubernetes.default.svc.cluster.local
- master.cfcr.internal
- name: service-account-key
type: rsa
- name: tls-docker
type: certificate
options:
ca: kubo_ca
common_name: docker.cfcr.internal
- name: tls-etcd-v0-17-0
type: certificate
options:
ca: kubo_ca
common_name: "*.etcd.cfcr.internal"
extended_key_usage:
- client_auth
- server_auth
- name: tls-etcdctl
type: certificate
options:
ca: kubo_ca
common_name: etcdClient
extended_key_usage:
- client_auth
- name: tls-heapster
type: certificate
options:
ca: kubo_ca
common_name: heapster
alternative_names:
- "heapster.kube-system.svc.cluster.local"
- name: tls-influxdb
type: certificate
options:
ca: kubo_ca
common_name: monitoring-influxdb
alternative_names: []
- name: kubernetes-dashboard-ca
type: certificate
options:
is_ca: true
common_name: ca
- name: tls-kubernetes-dashboard
type: certificate
options:
ca: kubernetes-dashboard-ca
common_name: kubernetesdashboard.cfcr.internal
alternative_names: []
- name: /dns_healthcheck_tls_ca
opsname: global_dns_healthcheck_tls_ca
type: certificate
options:
is_ca: true
common_name: dns-healthcheck-tls-ca
- name: /dns_healthcheck_server_tls
opsname: global_dns_healthcheck_server_tls
type: certificate
options:
ca: /dns_healthcheck_tls_ca
common_name: health.bosh-dns
extended_key_usage:
- server_auth
- name: /dns_healthcheck_client_tls
opsname: global_dns_healthcheck_client_tls
type: certificate
options:
ca: /dns_healthcheck_tls_ca
common_name: health.bosh-dns
extended_key_usage:
- client_auth
- name: /dns_api_tls_ca
opsname: global_dns_api_tls_ca
type: certificate
options:
is_ca: true
common_name: dns-api-tls-ca
- name: /dns_api_server_tls
opsname: global_dns_api_server_tls
type: certificate
options:
ca: /dns_api_tls_ca
common_name: api.bosh-dns
extended_key_usage:
- server_auth
- name: /dns_api_client_tls
opsname: global_dns_api_client_tls
type: certificate
options:
ca: /dns_api_tls_ca
common_name: api.bosh-dns
extended_key_usage:
- client_auth
features:
use_dns_addresses: true