forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf-deployment.yml
1539 lines (1530 loc) · 43.6 KB
/
cf-deployment.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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
name: cf
update:
canaries: 1
canary_watch_time: 30000-1200000
max_in_flight: 5
serial: false
update_watch_time: 5000-1200000
instance_groups:
- name: consul
azs:
- z1
- z2
- z3
instances: 3
persistent_disk_type: 5GB
vm_type: m3.medium
stemcell: default
update:
max_in_flight: 1
serial: true
networks:
- name: private
static_ips: &consul_ips
- 10.0.31.190
- 10.0.47.190
- 10.0.63.190
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: server
domain: cf.internal
servers: &consul_machines
lan: *consul_ips
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: metron_agent
release: loggregator
properties: &metron_agent_properties
syslog_daemon_config:
enable: false
metron_agent:
deployment: "((system_domain))"
etcd:
client_cert: "((etcd_client.certificate))"
client_key: "((etcd_client.private_key))"
metron_endpoint:
shared_secret: "((dropsonde_shared_secret))"
loggregator:
tls:
ca_cert: "((loggregator_ca.certificate))"
trafficcontroller:
cert: "((loggregator_tls_tc.certificate))"
key: "((loggregator_tls_tc.private_key))"
doppler:
cert: "((loggregator_tls_doppler.certificate))"
key: "((loggregator_tls_doppler.private_key))"
etcd:
require_ssl: true
ca_cert: "((etcd_server.ca))"
machines:
- etcd.service.cf.internal
- name: nats
azs:
- z1
- z2
instances: 2
vm_type: c3.large
vm_extensions:
- 5GB_ephemeral_disk
stemcell: default
networks:
- name: private
static_ips: &nats_machines
- 10.0.31.191
- 10.0.47.191
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: nats_stream_forwarder
release: nats
properties:
nats: &nats_properties
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
- name: nats
release: nats
properties:
nats:
password: "((nats_password))"
user: nats
debug: true
monitor_port: 9222
prof_port: 6060
trace: false
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: etcd
azs:
- z1
- z2
- z3
instances: 3
persistent_disk_type: 5GB
vm_type: m3.medium
vm_extensions:
- 5GB_ephemeral_disk
stemcell: default
update:
serial: true
max_in_flight: 1
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
services:
etcd: {}
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: etcd
release: etcd
properties:
etcd:
advertise_urls_dns_suffix: etcd.service.cf.internal
cluster:
- instances: 3
name: etcd
peer_require_ssl: true
require_ssl: true
ca_cert: "((etcd_client.ca))"
client_cert: "((etcd_client.certificate))"
client_key: "((etcd_client.private_key))"
server_cert: "((etcd_server.certificate))"
server_key: "((etcd_server.private_key))"
peer_ca_cert: "((etcd_peer.ca))"
peer_cert: "((etcd_peer.certificate))"
peer_key: "((etcd_peer.private_key))"
- name: etcd_metrics_server
release: etcd
properties:
etcd_metrics_server:
etcd:
dns_suffix: etcd.service.cf.internal
require_ssl: true
ca_cert: "((etcd_server.ca))"
client_cert: "((etcd_client.certificate))"
client_key: "((etcd_client.private_key))"
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: mysql
azs:
- z1
persistent_disk_type: 10GB
instances: 1
vm_type: m3.large
vm_extensions:
- 10GB_ephemeral_disk
stemcell: default
update:
serial: true
networks:
- name: private
static_ips:
- 10.0.31.193
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: mysql
release: cf-mysql
properties:
network_name: private
cf_mysql:
mysql:
galera_healthcheck:
db_password: "((cf_mysql_mysql_galera_healthcheck_password))"
endpoint_username: galera_healthcheck
endpoint_password: "((cf_mysql_mysql_galera_healthcheck_endpoint_password))"
admin_password: "((cf_mysql_mysql_admin_password))"
roadmin_password: "((cf_mysql_mysql_roadmin_password))"
cluster_health:
password: "((cf_mysql_mysql_cluster_health_password))"
seeded_databases:
- name: cloud_controller
username: cloud_controller
password: "((cf_mysql_mysql_seeded_databases_cc_password))"
- name: uaa
username: uaa
password: "((cf_mysql_mysql_seeded_databases_uaa_password))"
- name: diego
username: diego
password: "((cf_mysql_mysql_seeded_databases_diego_password))"
database_startup_timeout: 600
cluster_ips:
- 10.0.31.193
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: diego-bbs
azs:
- z1
- z2
instances: 2
vm_type: m3.large
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: bbs
release: diego
properties:
diego:
bbs:
active_key_label: key-2016-06
encryption_keys:
- label: key-2016-06
passphrase: "((diego_bbs_encryption_keys_passphrase))"
sql:
db_host: 10.0.31.193
db_port: 3306
db_schema: diego
db_username: diego
db_password: "((cf_mysql_mysql_seeded_databases_diego_password))"
db_driver: mysql
etcd:
machines: []
ca_cert: nil
client_cert: nil
client_key: nil
ca_cert: "((diego_bbs.ca))"
server_cert: "((diego_bbs_server.certificate))"
server_key: "((diego_bbs_server.private_key))"
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: uaa
azs:
- z1
- z2
instances: 2
vm_type: m3.medium
vm_extensions:
- 10GB_ephemeral_disk
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
services:
uaa: {}
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: uaa
release: uaa
properties:
login:
saml:
serviceProviderKey: "((uaa_login_saml.private_key))"
serviceProviderKeyPassword: ''
serviceProviderCertificate: "((uaa_login_saml.certificate))"
uaa:
sslCertificate: "((uaa_ssl.certificate))"
sslPrivateKey: "((uaa_ssl.private_key))"
zones:
internal:
hostnames:
- uaa.service.cf.internal
url: https://uaa.((system_domain))
admin:
client_secret: "((uaa_admin_client_secret))"
scim:
users:
- name: admin
password: "((uaa_scim_users_admin_password))"
groups:
- cloud_controller.admin
- doppler.firehose
- openid
- routing.router_groups.read
- routing.router_groups.write
- scim.read
- scim.write
login:
client_secret: "((uaa_login_client_secret))"
jwt:
signing_key: "((uaa_jwt_signing_key.private_key))"
verification_key: "((uaa_jwt_signing_key.public_key))"
clients:
cc-service-dashboards:
authorities: clients.read,clients.write,clients.admin
authorized-grant-types: client_credentials
scope: openid,cloud_controller_service_permissions.read
secret: "((uaa_clients_cc-service-dashboards_secret))"
cc_routing:
authorities: routing.router_groups.read
authorized-grant-types: client_credentials
secret: "((uaa_clients_cc-routing_secret))"
cf:
access-token-validity: 600
authorities: uaa.none
authorized-grant-types: password,refresh_token
override: true
refresh-token-validity: 2592000
scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write,doppler.firehose,uaa.user,routing.router_groups.read,routing.router_groups.write
cloud_controller_username_lookup:
authorities: scim.userids
authorized-grant-types: client_credentials
secret: "((uaa_clients_cloud_controller_username_lookup_secret))"
doppler:
authorities: uaa.resource
override: true
secret: "((uaa_clients_doppler_secret))"
gorouter:
authorities: routing.routes.read
authorized-grant-types: client_credentials,refresh_token
secret: "((uaa_clients_gorouter_secret))"
ssh-proxy:
authorized-grant-types: authorization_code
autoapprove: true
override: true
redirect-uri: "/login"
scope: openid,cloud_controller.read,cloud_controller.write
secret: "((uaa_clients_ssh-proxy_secret))"
tcp_emitter:
authorities: routing.routes.write,routing.routes.read,routing.router_groups.read
authorized-grant-types: client_credentials,refresh_token
secret: "((uaa_clients_tcp_emitter_secret))"
tcp_router:
authorities: routing.routes.read,routing.router_groups.read
authorized-grant-types: client_credentials,refresh_token
secret: "((uaa_clients_tcp_router_secret))"
uaadb:
address: 10.0.31.193
databases:
- name: uaa
tag: uaa
db_scheme: mysql
port: 3306
roles:
- name: uaa
password: "((cf_mysql_mysql_seeded_databases_uaa_password))"
tag: admin
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- health_check:
name: uaa-healthcheck
script_path: "/var/vcap/jobs/uaa/bin/health_check"
name: uaa
port: 8080
registration_interval: 4s
tags:
component: uaa
uris:
- uaa.((system_domain))
- "*.uaa.((system_domain))"
- login.((system_domain))
- "*.login.((system_domain))"
nats:
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: statsd-injector
release: loggregator
- name: diego-brain
azs:
- z1
- z2
instances: 2
vm_type: m3.medium
vm_extensions:
- ssh-proxy-lb
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: ssh_proxy
release: diego
properties:
diego:
ssl:
skip_cert_verify: true
ssh_proxy:
enable_cf_auth: true
host_key: "((diego_ssh_proxy_host_key.private_key))"
uaa_secret: "((uaa_clients_ssh-proxy_secret))"
uaa_token_url: https://uaa.((system_domain))/oauth/token
bbs: &diego_bbs_client_properties
ca_cert: "((diego_bbs.ca))"
client_cert: "((diego_bbs_client.certificate))"
client_key: "((diego_bbs_client.private_key))"
- name: file_server
release: diego
- name: auctioneer
release: diego
properties:
diego:
auctioneer:
bbs: *diego_bbs_client_properties
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: diego-cell
azs:
- z1
- z2
instances: 2
vm_type: r3.xlarge
vm_extensions:
- 100GB_ephemeral_disk
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: cflinuxfs2-rootfs-setup
release: cflinuxfs2-rootfs
- name: garden
release: garden-runc
properties:
garden:
default_container_grace_time: 0
destroy_containers_on_start: true
graph_cleanup_threshold_in_mb: 0
deny_networks:
- 0.0.0.0/0
persistent_image_list:
- "/var/vcap/packages/cflinuxfs2/rootfs"
- name: rep
release: diego
properties:
diego:
rep:
bbs: *diego_bbs_client_properties
preloaded_rootfses:
- cflinuxfs2:/var/vcap/packages/cflinuxfs2/rootfs
ssl:
skip_cert_verify: true
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: router
azs:
- z1
- z2
instances: 2
vm_type: m3.medium
vm_extensions:
- router-lb
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
services:
gorouter: {}
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: gorouter
release: routing
properties:
nats: *nats_properties
router:
enable_ssl: true
ssl_cert: "((router_ssl.certificate))"
ssl_key: "((router_ssl.private_key))"
status:
password: "((router_status_password))"
user: router-status
route_services_secret: "((router_route_services_secret))"
ssl_skip_validation: true
uaa:
clients:
gorouter:
secret: "((uaa_clients_gorouter_secret))"
ca_cert: "((uaa_ca.certificate))"
ssl:
port: 8443
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: route-emitter
azs:
- z1
- z2
instances: 2
vm_type: m3.medium
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: route_emitter
release: diego
properties:
diego:
route_emitter:
nats: *nats_properties
bbs:
ca_cert: "((diego_bbs.ca))"
client_cert: "((diego_bbs_client.certificate))"
client_key: "((diego_bbs_client.private_key))"
require_ssl: true
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: blobstore
azs:
- z1
instances: 1
vm_type: m3.large
vm_extensions:
- 10GB_ephemeral_disk
persistent_disk_type: 100GB
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
services:
blobstore: {}
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: blobstore
release: capi
properties:
system_domain: "((system_domain))"
blobstore:
admin_users:
- username: blobstore-user
password: "((blobstore_admin_users_password))"
secure_link:
secret: "((blobstore_secure_link_secret))"
tls:
cert: "((blobstore_tls.certificate))"
private_key: "((blobstore_tls.private_key))"
ca_cert: "((blobstore_tls.ca))"
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- name: blobstore
port: 8080
registration_interval: 20s
tags:
component: blobstore
uris:
- blobstore.((system_domain))
nats:
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: api
azs:
- z1
- z2
instances: 2
vm_type: m3.large
vm_extensions:
- 50GB_ephemeral_disk
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
services:
cloud_controller_ng: {}
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: cloud_controller_ng
release: capi
properties:
router:
route_services_secret: "((router_route_services_secret))"
hm9000:
port: -1
ssl: &ssl
skip_cert_verify: true
system_domain: "((system_domain))"
system_domain_organization: default_org
app_domains: &app_domains
- "((system_domain))"
app_ssh: &app_ssh
host_key_fingerprint: "((diego_ssh_proxy_host_key.public_key_fingerprint))"
oauth_client_id: ssh-proxy
nats:
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
uaa:
clients:
cc_routing:
secret: "((uaa_clients_cc-routing_secret))"
cloud_controller_username_lookup:
secret: "((uaa_clients_cloud_controller_username_lookup_secret))"
cc-service-dashboards:
secret: "((uaa_clients_cc-service-dashboards_secret))"
url: https://uaa.((system_domain))
jwt:
verification_key: "((uaa_jwt_signing_key.public_key))"
cc:
default_running_security_groups: &cc_default_running_security_groups
- public_networks
- dns
default_staging_security_groups: &cc_default_staging_security_groups
- public_networks
- dns
security_group_definitions: &cc_security_group_definitions
- name: public_networks
rules:
- destination: 0.0.0.0-9.255.255.255
protocol: all
- destination: 11.0.0.0-169.253.255.255
protocol: all
- destination: 169.255.0.0-172.15.255.255
protocol: all
- destination: 172.32.0.0-192.167.255.255
protocol: all
- destination: 192.169.0.0-255.255.255.255
protocol: all
- name: dns
rules:
- destination: 0.0.0.0/0
ports: '53'
protocol: tcp
- destination: 0.0.0.0/0
ports: '53'
protocol: udp
install_buildpacks: &cc_install_buildpacks
- name: binary_buildpack
package: binary-buildpack
- name: dotnet_core_buildpack
package: dotnet-core-buildpack
- name: go_buildpack
package: go-buildpack
- name: java_buildpack
package: buildpack_java
- name: nodejs_buildpack
package: nodejs-buildpack
- name: php_buildpack
package: php-buildpack
- name: python_buildpack
package: python-buildpack
- name: python_buildpack
package: python-buildpack
- name: ruby_buildpack
package: ruby-buildpack
- name: staticfile_buildpack
package: staticfile-buildpack
default_to_diego_backend: true
db_encryption_key: "((cc_db_encryption_key))"
bulk_api_password: "((cc_bulk_api_password))"
internal_api_password: "((cc_internal_api_password))"
staging_upload_user: staging_user
staging_upload_password: "((cc_staging_upload_password))"
quota_definitions: "a_definitions
default:
memory_limit: 102400
non_basic_services_allowed: true
total_routes: 1000
total_services: -1
buildpacks: &blobstore-properties
blobstore_type: webdav
webdav_config:
blobstore_timeout: 5
password: "((blobstore_admin_users_password))"
private_endpoint: https://blobstore.service.cf.internal:4443
public_endpoint: https://blobstore.((system_domain))
username: blobstore-user
resource_pool: *blobstore-properties
packages: *blobstore-properties
droplets: *blobstore-properties
ccdb: &ccdb
databases:
- name: cloud_controller
tag: cc
address: 10.0.31.193
db_scheme: mysql
port: 3306
roles:
- name: cloud_controller
password: "((cf_mysql_mysql_seeded_databases_cc_password))"
tag: admin
- name: cloud_controller_worker
release: capi
properties:
hm9000:
port: -1
cc:
db_encryption_key: "((cc_db_encryption_key))"
default_to_diego_backend: true
install_buildpacks: *cc_install_buildpacks
default_running_security_groups: *cc_default_running_security_groups
default_staging_security_groups: *cc_default_staging_security_groups
security_group_definitions: *cc_security_group_definitions
internal_api_password: "((cc_internal_api_password))"
bulk_api_password: "((cc_bulk_api_password))"
quota_definitions: *quota_definitions
staging_upload_user: staging_user
staging_upload_password: "((cc_staging_upload_password))"
resource_pool: *blobstore-properties
packages: *blobstore-properties
droplets: *blobstore-properties
buildpacks: *blobstore-properties
ccdb: *ccdb
ssl: *ssl
system_domain: "((system_domain))"
system_domain_organization: default_org
app_domains: *app_domains
app_ssh: *app_ssh
nats:
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
uaa:
clients:
cc-service-dashboards:
secret: "((uaa_clients_cc-service-dashboards_secret))"
url: https://uaa.((system_domain))
jwt:
verification_key: "((uaa_jwt_signing_key.public_key))"
- name: binary-buildpack
release: binary-buildpack
- name: dotnet-core-buildpack
release: dotnet-core-buildpack
- name: go-buildpack
release: go-buildpack
- name: java-buildpack
release: java-buildpack
- name: java-offline-buildpack
release: java-offline-buildpack
- name: nodejs-buildpack
release: nodejs-buildpack
- name: php-buildpack
release: php-buildpack
- name: python-buildpack
release: python-buildpack
- name: ruby-buildpack
release: ruby-buildpack
- name: staticfile-buildpack
release: staticfile-buildpack
- name: route_registrar
release: routing
properties:
route_registrar:
routes:
- name: api
registration_interval: 20s
port: 9022
uris:
- api.((system_domain))
nats:
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
- name: statsd-injector
release: loggregator
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: cc_clock
azs:
- z1
instances: 1
vm_type: m3.large
vm_extensions:
- 5GB_ephemeral_disk
stemcell: default
networks:
- name: private
jobs:
- name: consul_agent
release: consul
properties:
consul:
agent:
mode: client
domain: cf.internal
servers: *consul_machines
encrypt_keys:
- "((consul_encrypt_key))"
agent_cert: "((consul_agent.certificate))"
agent_key: "((consul_agent.private_key))"
ca_cert: "((consul_agent.ca))"
server_cert: "((consul_server.certificate))"
server_key: "((consul_server.private_key))"
- name: cloud_controller_clock
release: capi
properties:
hm9000:
port: -1
cc:
db_encryption_key: "((cc_db_encryption_key))"
default_to_diego_backend: true
install_buildpacks: *cc_install_buildpacks
default_running_security_groups: *cc_default_running_security_groups
default_staging_security_groups: *cc_default_staging_security_groups
security_group_definitions: *cc_security_group_definitions
internal_api_password: "((cc_internal_api_password))"
bulk_api_password: "((cc_bulk_api_password))"
quota_definitions: *quota_definitions
staging_upload_user: staging_user
staging_upload_password: "((cc_staging_upload_password))"
resource_pool: *blobstore-properties
packages: *blobstore-properties
droplets: *blobstore-properties
buildpacks: *blobstore-properties
ccdb: *ccdb
ssl: *ssl
system_domain: "((system_domain))"
system_domain_organization: default_org
app_domains: *app_domains
app_ssh: *app_ssh
nats:
machines: *nats_machines
password: "((nats_password))"
port: 4222
user: nats
uaa:
clients:
cc-service-dashboards:
secret: "((uaa_clients_cc-service-dashboards_secret))"
url: https://uaa.((system_domain))
jwt:
verification_key: "((uaa_jwt_signing_key.public_key))"
- name: statsd-injector
release: loggregator
- name: metron_agent
release: loggregator
properties: *metron_agent_properties
- name: cc_bridge