forked from cloudfoundry/bosh-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bosh.yml
237 lines (237 loc) · 5.88 KB
/
bosh.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
cloud_provider:
cert: ((mbus_bootstrap_ssl))
mbus: https://mbus:((mbus_bootstrap_password))@((internal_ip)):6868
properties:
agent:
mbus: https://mbus:((mbus_bootstrap_password))@0.0.0.0:6868
blobstore:
path: /var/vcap/micro_bosh/data/cache
provider: local
ntp:
- time1.google.com
- time2.google.com
- time3.google.com
- time4.google.com
disk_pools:
- disk_size: 65536
name: disks
instance_groups:
- instances: 1
jobs:
- name: bpm
release: bpm
- name: nats
release: bosh
- name: postgres-10
release: bosh
- name: blobstore
release: bosh
- name: director
release: bosh
- name: health_monitor
release: bosh
name: bosh
networks:
- name: default
static_ips:
- ((internal_ip))
persistent_disk_pool: disks
properties:
agent:
env:
bosh:
blobstores:
- options:
endpoint: https://((internal_ip)):25250
password: ((blobstore_agent_password))
tls:
cert:
ca: ((blobstore_ca.certificate))
user: agent
provider: dav
mbus: nats://nats:((nats_password))@((internal_ip)):4222
blobstore:
address: ((internal_ip))
agent:
password: ((blobstore_agent_password))
user: agent
director:
password: ((blobstore_director_password))
user: director
port: 25250
provider: dav
tls:
cert:
ca: ((blobstore_ca.certificate))
certificate: ((blobstore_server_tls.certificate))
private_key: ((blobstore_server_tls.private_key))
director:
address: 127.0.0.1
db:
adapter: postgres
database: bosh
host: 127.0.0.1
listen_address: 127.0.0.1
password: ((postgres_password))
user: postgres
enable_dedicated_status_worker: true
enable_nats_delivered_templates: true
enable_post_deploy: true
events:
record_events: true
flush_arp: true
generate_vm_passwords: true
local_dns:
enabled: true
name: ((director_name))
ssl:
cert: ((director_ssl.certificate))
key: ((director_ssl.private_key))
user_management:
local:
users:
- name: admin
password: ((admin_password))
- name: hm
password: ((hm_password))
provider: local
workers: 4
hm:
director_account:
ca_cert: ((director_ssl.ca))
password: ((hm_password))
user: hm
resurrector_enabled: true
nats:
address: ((internal_ip))
password: ((nats_password))
tls:
ca: ((nats_server_tls.ca))
client_ca:
certificate: ((nats_ca.certificate))
private_key: ((nats_ca.private_key))
director:
certificate: ((nats_clients_director_tls.certificate))
private_key: ((nats_clients_director_tls.private_key))
health_monitor:
certificate: ((nats_clients_health_monitor_tls.certificate))
private_key: ((nats_clients_health_monitor_tls.private_key))
server:
certificate: ((nats_server_tls.certificate))
private_key: ((nats_server_tls.private_key))
user: nats
ntp:
- time1.google.com
- time2.google.com
- time3.google.com
- time4.google.com
postgres:
adapter: postgres
database: bosh
host: 127.0.0.1
listen_address: 127.0.0.1
password: ((postgres_password))
user: postgres
resource_pool: vms
name: bosh
networks:
- name: default
subnets:
- dns:
- 8.8.8.8
gateway: ((internal_gw))
range: ((internal_cidr))
static:
- ((internal_ip))
type: manual
releases:
- name: bosh
sha1: 10b656e7dba7b1f94fc874fc8c4a73321ac25cd1
url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/bosh-268.7.0-ubuntu-xenial-250.17-20190308-181631-852848928-20190308181638.tgz
version: 268.7.0
- name: bpm
sha1: 782f31d0472e5e549f598ecddbb40e042c36ce1b
url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/bpm-0.12.3-ubuntu-xenial-250.17-20190306-224046-281277028-20190306224052.tgz
version: 0.12.3
resource_pools:
- env:
bosh:
mbus:
cert: ((mbus_bootstrap_ssl))
password: '*'
name: vms
network: default
variables:
- name: admin_password
type: password
- name: blobstore_director_password
type: password
- name: blobstore_agent_password
type: password
- name: hm_password
type: password
- name: mbus_bootstrap_password
type: password
- name: nats_password
type: password
- name: postgres_password
type: password
- name: default_ca
options:
common_name: ca
is_ca: true
type: certificate
- name: mbus_bootstrap_ssl
options:
alternative_names:
- ((internal_ip))
ca: default_ca
common_name: ((internal_ip))
type: certificate
- name: director_ssl
options:
alternative_names:
- ((internal_ip))
ca: default_ca
common_name: ((internal_ip))
type: certificate
- name: nats_ca
options:
common_name: default.nats-ca.bosh-internal
is_ca: true
type: certificate
- name: nats_server_tls
options:
alternative_names:
- ((internal_ip))
ca: nats_ca
common_name: default.nats.bosh-internal
extended_key_usage:
- server_auth
type: certificate
- name: nats_clients_director_tls
options:
ca: nats_ca
common_name: default.director.bosh-internal
extended_key_usage:
- client_auth
type: certificate
- name: nats_clients_health_monitor_tls
options:
ca: nats_ca
common_name: default.hm.bosh-internal
extended_key_usage:
- client_auth
type: certificate
- name: blobstore_ca
options:
common_name: default.blobstore-ca.bosh-internal
is_ca: true
type: certificate
- name: blobstore_server_tls
options:
alternative_names:
- ((internal_ip))
ca: blobstore_ca
common_name: ((internal_ip))
type: certificate