public

Cloud Foundry BOSH Manifest Example

  • Download Gist
cloudfoundry-bosh-manifest-example.yml
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 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
---
name: cloudfoundry
director_uuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
 
release:
name: cloudfoundry
version: 86.1-dev
 
compilation:
workers: 4
network: dynamic
cloud_properties:
ram: 2048
disk: 8096
cpu: 4
 
update:
canaries: 1
canary_watch_time: 3000-90000
update_watch_time: 3000-90000
max_in_flight: 2
max_errors: 1
 
networks:
 
- name: default
subnets:
- reserved:
- 192.168.0.2 - 192.168.0.49
- 192.168.0.90 - 192.168.0.254
static:
- 192.168.0.50 - 192.168.0.89
range: 192.168.0.0/24
gateway: 192.168.0.1
dns:
- 192.168.0.2
- 192.168.0.3
cloud_properties:
name: Static VLAN
- name: lb
subnets:
- static:
- 192.168.0.90 - 192.168.0.98
range: 192.168.0.0/24
gateway: 192.168.0.1
dns:
- 192.168.0.2
- 192.168.0.3
cloud_properties:
name: Static VLAN
- name: dynamic
subnets:
- reserved: 192.168.1.2 - 192.168.1.50
range: 192.168.1.0/24
gateway: 192.168.1.1
dns:
- 192.168.0.2
- 192.168.0.3
cloud_properties:
name: Dynamic VLAN
 
resource_pools:
 
- name: infrastructure
network: dynamic
size: 29
stemcell:
name: bosh-stemcell
version: 0.6.2
cloud_properties:
ram: 4096
disk: 8192
cpu: 1
env:
bosh:
password: c1oudc0w
# c1oudc0w - password generated using mkpasswd -m sha-512
 
- name: deas
network: dynamic
size: 4
stemcell:
name: bosh-stemcell
version: 0.6.2
cloud_properties:
ram: 4096
disk: 16384
cpu: 4
env:
bosh:
password: c1oudc0w
# c1oudc0w - password generated using mkpasswd -m sha-512
 
jobs:
 
- name: debian_nfs_server
template: debian_nfs_server
instances: 1
resource_pool: infrastructure
persistent_disk: 8192
networks:
- name: default
static_ips:
- 192.168.0.50
 
- name: syslog_aggregator
template: syslog_aggregator
instances: 1
resource_pool: infrastructure
persistent_disk: 600
networks:
- name: default
static_ips:
- 192.168.0.51
 
- name: nats
template: nats
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.52
 
- name: opentsdb
template: opentsdb
instances: 1
resource_pool: infrastructure
persistent_disk: 16384
networks:
- name: default
static_ips:
- 192.168.0.53
 
- name: collector
template: collector
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.54
 
- name: dashboard
template: dashboard
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.55
 
- name: ccdb
template: postgres
properties:
db: ccdb
instances: 1
resource_pool: infrastructure
persistent_disk: 8192
networks:
- name: default
static_ips:
- 192.168.0.83
 
- name: uaadb
template: postgres
instances: 1
resource_pool: infrastructure
persistent_disk: 8192
properties:
db: uaadb
networks:
- name: default
static_ips:
- 192.168.0.57
 
- name: vcap_redis
template: vcap_redis
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.58
 
- name: uaa
template: uaa
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.59
 
- name: cloud_controller
template: cloud_controller
instances: 2
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.60
- 192.168.0.61
 
- name: stager
template: stager
instances: 2
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.62
- 192.168.0.63
 
- name: routerv2
template: router_next
instances: 2
resource_pool: infrastructure
networks:
- name: default
default: [dns, gateway]
static_ips:
- 192.168.0.64
- 192.168.0.65
- name: lb
static_ips:
- 192.168.0.90
- 192.168.0.91
 
- name: health_manager
template: health_manager
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.66
 
- name: dea
template: dea
instances: 4
resource_pool: deas
networks:
- name: default
static_ips:
- 192.168.0.67
- 192.168.0.68
- 192.168.0.69
- 192.168.0.70
 
- name: mysql_node
template: mysql_node
instances: 1
resource_pool: infrastructure
persistent_disk: 800
networks:
- name: default
static_ips:
- 192.168.0.71
 
- name: mysql_gateway
template: mysql_gateway
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.72
 
- name: mongodb_node
template: mongodb_node
instances: 1
resource_pool: infrastructure
persistent_disk: 600
networks:
- name: default
static_ips:
- 192.168.0.73
 
- name: mongodb_gateway
template: mongodb_gateway
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.74
 
- name: redis_node
template: redis_node
instances: 1
resource_pool: infrastructure
persistent_disk: 600
networks:
- name: default
static_ips:
- 192.168.0.75
 
- name: redis_gateway
template: redis_gateway
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.76
 
- name: rabbit_node
template: rabbit_node
instances: 1
resource_pool: infrastructure
persistent_disk: 4096
networks:
- name: default
static_ips:
- 192.168.0.77
 
- name: rabbit_gateway
template: rabbit_gateway
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.78
 
- name: postgresql_node
template: postgresql_node
instances: 1
resource_pool: infrastructure
persistent_disk: 650
networks:
- name: default
static_ips:
- 192.168.0.79
 
- name: postgresql_gateway
template: postgresql_gateway
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.80
 
- name: backup_manager
template: backup_manager
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.81
 
- name: service_utilities
template: service_utilities
instances: 1
resource_pool: infrastructure
networks:
- name: default
static_ips:
- 192.168.0.82
 
properties:
domain: cfbosh.local
 
env: {}
 
networks:
apps: default
management: default
 
nats:
user: nats
password: aaa3ij3122
address: 192.168.0.52
port: 4222
uaadb:
address: 192.168.0.57
port: 2544
roles:
- tag: admin
name: uaaadmin
password: aaa39c8e3f34bc201351ba7a
databases:
- tag: uaa
name: uaa
 
ccdb:
user: ccadmin
password: aaaBauWauZZb2
address: 192.168.0.83
port: 5524
pool_size: 10
dbname: appcloud
roles:
- tag: admin
name: ccadmin
password: aaaBauWauZZb2
databases:
- tag: cc
name: appcloud
 
cc:
srv_api_uri: http://api.cfbosh.local
password: aaauuLaap44jadlas2l312lk
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
use_nginx: true
new_stager_percent: 25
new_stager_email_regexp: '.*@email.local'
staging_upload_user: aaafhgjg
staging_upload_password: AAAfdase9
allow_registration: true
uaa:
enabled: true
resource_id: cloud_controller
client_secret: aaaNxRJcx6cpv
admins:
- john.doe@email.local
 
vcap_redis:
address: 192.168.0.58
port: 5454
password: aaaxbL98RWpwBuUJvKNojnpIcRb1ot2
maxmemory: 2000000000 # 2GB
 
router:
status:
port: 8080
user: aaaUxXlS0pc71wVef
password: aaamaIf9vPV4mJyBe
 
dashboard:
users:
- [dash, admin]
 
dea:
max_memory: 4096
 
nfs_server:
address: 192.168.0.50
network: 192.168.0.0/24
 
opentsdb:
address: 192.168.0.53
port: 4242
 
service_plans:
mysql:
free:
job_management:
high_water: 1400
low_water: 100
configuration:
allow_over_provisioning: true
capacity: 200
max_db_size: 128
max_long_query: 3
max_long_tx: 0
max_clients: 20
postgresql:
free:
job_management:
high_water: 1400
low_water: 100
configuration:
capacity: 200
max_db_size: 128
max_long_query: 3
max_long_tx: 30
max_clients: 20
mongodb:
free:
job_management:
high_water: 3000
low_water: 100
configuration:
allow_over_provisioning: true
capacity: 200
quota_files: 4
max_clients: 500
redis:
free:
job_management:
high_water: 1400
low_water: 100
configuration:
capacity: 200
max_memory: 16
max_swap: 32
max_clients: 500
rabbit:
free:
job_management:
low_water: 100
high_water: 1400
configuration:
max_memory_factor: 0.5
max_clients: 512
capacity: 200
 
mysql_gateway:
check_orphan_interval: 7200
token: "0xfeedface"
mysql_node:
production: true
password: aaa13djkas
 
redis_gateway:
token: "0xfeedface"
check_orphan_interval: 7200
redis_node:
command_rename_prefix: sample
 
mongodb_gateway:
check_orphan_interval: 7200
token: "0xfeedface"
mongodb_node:
{}
 
rabbit_gateway:
token: AAA430A8BAED490B1240338DA34B10D
rabbit_node:
{}
 
postgresql_gateway:
check_orphan_interval: 7200
token: aaaeAh4BXFBXwLrrWJCpQTfeDnaCn7m
postgresql_node:
production: true
 
syslog_aggregator:
address: 192.168.0.51
port: 54321
 
stager:
max_staging_duration: 120
max_active_tasks: 20
queues:
- staging
 
uaa:
db:
user: root
password: aaa39c8e3f34bc201351ba7a
address: 192.168.0.57
port: 2544
dbname: uaa
bootstrap:
username: john.doe@email.local
# BCrypt::Password.create('foobar', :cost => 8)
password: c1oudc0w
given_name: UAA Administrator
family_name: UAA Administrator
email: john.doe@email.local
cc:
token_secret: aaabxaiC371JM
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK
admin:
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK
batch:
username: do0H2AKay2jAc
password: FSCTiplI5Q83n

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.