This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
forked from orange-cloudfoundry/mongodb-boshrelease
-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest-shard.yml
101 lines (95 loc) · 2 KB
/
manifest-shard.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
name: ((deployment_name))
releases:
- name: mongodb-services
version: latest
update:
canaries: 1
canary_watch_time: 30000-240000
update_watch_time: 30000-240000
max_in_flight: 1 #<-- important to limit max in flight
serial: false
stemcells:
- alias: ubuntu
os: ubuntu-xenial
version: latest
instance_groups:
- name: cfgsvr
azs: [z1]
instances: 3
vm_type: default
env:
bosh:
swap_size: 0
stemcell: ubuntu
networks:
- name: default
persistent_disk_type: default
env:
persistent_disk_fs: xfs
jobs:
- name: bpm
release: bpm
- name: cfgsvr
release: mongodb-services
properties:
port: 23758
replication:
replica_set_name: mongo-config
server_certificate:
certificate: ((mongo_ca.certificate))
private_key: ((mongo_ca.private_key))
- name: mongos
release: mongodb-services
properties:
server_certificate:
certificate: ((mongo_ca.certificate))
private_key: ((mongo_ca.private_key))
users:
- name: root
password: ((root_password))
roles:
- role: root
db: admin
- name: admin
password: ((admin_password))
roles:
- role: userAdminAnyDatabase
db: admin
- name: shard-0
azs: [z1]
instances: 3
vm_type: default
env:
bosh:
swap_size: 0
stemcell: ubuntu
networks:
- name: default
persistent_disk_type: default
env:
persistent_disk_fs: xfs
jobs:
- name: shardsvr
release: mongodb-services
properties:
server_certificate:
certificate: ((mongo_ca.certificate))
private_key: ((mongo_ca.private_key))
replication:
replica_set_name: mongo-data-shard-0
users:
- name: root
password: ((root_password))
roles:
- role: root
db: admin
variables:
- name: admin_password
type: password
- name: root_password
type: password
- name: mongo_ca
type: certificate
options:
is_ca: true
common_name: MongoDB CA