Advertisement
MoizArif

bosh.yml

Jul 12th, 2016
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. ---
  2. name: bosh
  3. releases:
  4. - name: bosh
  5. url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=257
  6. sha1: de801d02d527c686dad63f1fe88cb0b2a959f012
  7. - name: bosh-openstack-cpi
  8. url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=25
  9. sha1: 8ad0182d9cb6638bc216d7fa77d521390971e2a5
  10.  
  11. resource_pools:
  12. - name: vms
  13. network: test
  14. stemcell:
  15. url: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3232.4
  16. sha1: 7f974927463bb44d3580ee16f4a0e8b9fe89202d
  17. cloud_properties:
  18. instance_type: bosh
  19.  
  20. disk_pools:
  21. - name: disks
  22. disk_size: 100_00
  23.  
  24. networks:
  25. - name: test
  26. type: manual
  27. subnets:
  28. - range: 1.1.1.0/24
  29. gateway: 1.1.1.254
  30. dns:
  31. - 8.8.8.8
  32. cloud_properties:
  33. net_id: 088ff1ef-08e1-4662-975c-995cf78b1e84
  34.  
  35. - name: External
  36. type: vip
  37.  
  38. jobs:
  39. - name: bosh
  40. instances: 1
  41.  
  42. templates:
  43. - {name: nats, release: bosh}
  44. - {name: postgres, release: bosh}
  45. - {name: blobstore, release: bosh}
  46. - {name: director, release: bosh}
  47. - {name: health_monitor, release: bosh}
  48. - {name: registry, release: bosh}
  49. - {name: openstack_cpi, release: bosh-openstack-cpi}
  50.  
  51. resource_pool: vms
  52. persistent_disk_pool: disks
  53.  
  54. networks:
  55. - name: test
  56. static_ips:
  57. - 1.1.1.200
  58. default: [dns, gateway]
  59. - name: External
  60. static_ips:
  61. - 192.168.14.91
  62.  
  63. properties:
  64. nats:
  65. address: 127.0.0.1
  66. user: nats
  67. password: nats-password
  68.  
  69. postgres: &db
  70. listen_address: 127.0.0.1
  71. host: 127.0.0.1
  72. user: postgres
  73. password: postgres-password
  74. database: bosh
  75. adapter: postgres
  76.  
  77. registry:
  78. address: 1.1.1.200
  79. host: 1.1.1.200
  80. db: *db
  81. http: {user: admin, password: admin, port: 25777}
  82. username: admin
  83. password: admin
  84. port: 25777
  85.  
  86. blobstore:
  87. address: 1.1.1.200
  88. port: 25250
  89. provider: dav
  90. director: {user: director, password: director-password}
  91. agent: {user: agent, password: agent-password}
  92.  
  93. director:
  94. address: 127.0.0.1
  95. name: my-bosh
  96. db: *db
  97. cpi_job: openstack_cpi
  98. max_threads: 3
  99. user_management:
  100. provider: local
  101. local:
  102. users:
  103. - {name: admin, password: admin}
  104. - {name: hm, password: hm-password}
  105.  
  106. hm:
  107. director_account: {user: hm, password: hm-password}
  108. resurrector_enabled: true
  109.  
  110. openstack: &openstack
  111. auth_url: http://10.10.26.2:5000/v2.0
  112. tenant: tenant
  113. username: user
  114. api_key: password
  115. region: region
  116. default_key_name: bosh1
  117. default_security_groups: [bosh]
  118. connection_options:
  119. connect_timeout: 3600
  120.  
  121. agent: {mbus: "nats://nats:nats-password@1.1.1.200:4222"}
  122. ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org]
  123.  
  124. cloud_provider:
  125. template: {name: openstack_cpi, release: bosh-openstack-cpi}
  126.  
  127. ssh_tunnel:
  128. host: 192.168.14.91
  129. port: 22
  130. user: vcap
  131. private_key: /root/my-bosh/id_rsa.pem
  132.  
  133. mbus: "https://mbus:mbus-password@192.168.14.91:6868"
  134.  
  135. properties:
  136. openstack: *openstack
  137. agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"}
  138. blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache}
  139. ntp: *ntp
  140.  
  141. logging:
  142. level: debug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement