forked from vmware-archive/bosh-azure-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bosh.yml
139 lines (117 loc) · 3.29 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
---
name: bosh
releases:
- name: bosh
url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=255.8
sha1: 6b12652650b87810dcef1be1f6a6d23f1c0c13a7
- name: bosh-azure-cpi
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-azure-cpi-release?v=11
sha1: 395fc05c11ead59711188ebd0a684842a03dc93d
networks:
- name: private
type: manual
subnets:
- range: 10.0.0.0/24
gateway: 10.0.0.1
dns: [10.0.0.100]
cloud_properties:
virtual_network_name: {{ VNET_NAME }}
subnet_name: {{ SUBNET_NAME }}
resource_pools:
- name: vms
network: private
stemcell:
url: https://bosh.io/d/stemcells/bosh-azure-hyperv-ubuntu-trusty-go_agent?v=3232.5
sha1: d71b1092f0edc68544f0e1796e75491d0d3678ce
cloud_properties:
instance_type: Standard_D2_v2
disk_pools:
- name: disks
disk_size: 25_000
jobs:
- name: bosh
templates:
- {name: nats, release: bosh}
- {name: redis, release: bosh}
- {name: postgres, release: bosh}
- {name: powerdns, release: bosh}
- {name: blobstore, release: bosh}
- {name: director, release: bosh}
- {name: health_monitor, release: bosh}
- {name: registry, release: bosh}
- {name: cpi, release: bosh-azure-cpi}
instances: 1
resource_pool: vms
persistent_disk_pool: disks
networks:
- {name: private, static_ips: [10.0.0.4], default: [dns, gateway]}
properties:
nats:
address: 127.0.0.1
user: nats
password: nats-password
redis:
listen_addresss: 127.0.0.1
address: 127.0.0.1
password: redis-password
postgres: &db
host: 127.0.0.1
user: postgres
password: postgres-password
database: bosh
adapter: postgres
dns:
address: 10.0.0.4
domain_name: internal
db: *db
recursor: 8.8.8.8
registry:
address: 10.0.0.4
host: 10.0.0.4
db: *db
http: {user: admin, password: admin, port: 25777}
username: admin
password: admin
port: 25777
blobstore:
address: 10.0.0.4
port: 25250
provider: dav
director: {user: director, password: director-password}
agent: {user: agent, password: agent-password}
director:
address: 127.0.0.1
name: bosh
db: *db
cpi_job: cpi
enable_snapshots: true
hm:
http: {user: hm, password: hm-password}
director_account: {user: admin, password: admin}
azure: &azure
environment: AzureCloud
subscription_id: {{ SUBSCRIPTION_ID }}
storage_account_name: {{ STORAGE_ACCOUNT_NAME }}
storage_access_key: {{ STORAGE_ACCESS_KEY }}
resource_group_name: {{ RESOURCE_GROUP_NAME }}
tenant_id: {{ TENANT_ID }}
client_id: {{ CLIENT_ID }}
client_secret: {{ CLIENT_SECRET }}
ssh_user: vcap
ssh_public_key: {{ SSH_PUB_KEY }}
default_security_group: BoshSecurityGroup
agent: {mbus: "nats://nats:[email protected]:4222"}
ntp: &ntp [0.north-america.pool.ntp.org]
cloud_provider:
template: {name: cpi, release: bosh-azure-cpi}
ssh_tunnel:
host: 10.0.0.4
port: 22
user: vcap
private_key: ~/id_rsa_bosh
mbus: https://mbus-user:[email protected]:6868
properties:
azure: *azure
agent: {mbus: "https://mbus-user:[email protected]:6868"}
blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache}
ntp: *ntp