forked from kubash/kubash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-cluster.yaml
210 lines (210 loc) · 4.86 KB
/
example-cluster.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
---
csv_version: '5.0.0'
kubernetes_version: 'v1.15.3'
hosts:
my-master1:
hostname: master01
role: primary_master
cpuCount: 2
Memory: 2048
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
sshPort: 22
network1:
ip: dhcp
network: network=default
mac: '52:54:00:e2:8a:11'
my-master2:
hostname: master02
role: master
cpuCount: 2
Memory: 2048
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
sshPort: 22
network1:
network: network=default
mac: '52:54:00:e2:8a:12'
ip: dhcp
my-master3:
hostname: master03
role: master
cpuCount: 2
Memory: 2048
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
sshPort: 22
network1:
network: network=default
mac: '52:54:00:e2:8a:13'
ip: dhcp
my-node1:
hostname: node01
role: node
cpuCount: 2
Memory: 2048
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
sshPort: 22
network1:
network: network=default
mac: '52:54:00:e2:8a:14'
ip: dhcp
my-node2:
hostname: node02
role: node
cpuCount: 2
Memory: 2048
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
sshPort: 22
network1:
network: network=default
mac: '52:54:00:e2:8a:15'
ip: dhcp
my-node3:
hostname: node03
role: node
cpuCount: 2
Memory: 2048
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
sshPort: 22
network1:
network: network=default
mac: '52:54:00:e2:8a:16'
ip: dhcp
network2:
network: network=default
mac: '52:54:00:e2:8a:17'
ip: '10.0.0.32'
routingprefix: '10.0.0.0'
subnetmask: '255.255.255.0'
network3:
network: network=default
mac: '52:54:00:e2:8a:18'
ip: dhcp
my-storage1:
hostname: extetcdstorage1
role: storage
cpuCount: 2
Memory: 2048
sshPort: 22
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
network1:
network: bridge=br0
mac: '52:54:00:e2:8a:19'
ip: '10.0.0.33'
broadcast: '10.0.0.255'
gateway: '10.0.0.1'
routingprefix: '10.0.0.0'
subnetmask: '255.255.255.0'
storage:
path: '/var/lib/rook'
size: '11G'
type: 'raw'
target: 'vdb'
uuid: '05617ec5-96e9-48b6-ab4e-e70fa1339cdd'
targetpath: '/var/lib/rook'
my-storage2:
hostname: extetcdstorage2
role: storage
cpuCount: 2
Memory: 2048
sshPort: 22
provisioner:
Host: localhost
User: root
Port: 22
BasePath: '/var/lib/libvirt/images'
os: coreos
kvm_os_variant: virtio26
virt: qemu
network1:
network: bridge=br0
mac: '52:54:00:e2:8a:20'
ip: '10.0.0.34'
broadcast: '10.0.0.255'
gateway: '10.0.0.1'
routingprefix: '10.0.0.0'
subnetmask: '255.255.255.0'
network2:
network: network=default
mac: '52:54:00:e2:8a:21'
ip: '10.2.2.35'
broadcast: '10.2.2.255'
gateway: '10.2.2.1'
routingprefix: '10.2.2.0'
subnetmask: '255.255.0.0'
network3:
network: network=default
mac: '52:54:00:e2:8a:22'
ip: '10.3.3.36'
broadcast: '10.3.3.255'
gateway: '10.3.3.1'
routingprefix: '10.3.3.0'
subnetmask: '255.0.0.0'
iscsi:
target: 'iqn.2005-10.org.freenas.ctl:exampletarg01'
host: '10.0.0.103:3260'
chap_username: chap_user
chap_password: chap_password
ca:
cert:
CERT_COMMON_NAME: etcd
CERT_COUNTRY: US
CERT_LOCALITY: Austin
CERT_ORGANISATION: Example inc.
CERT_STATE: Texas
CERT_ORG_UNIT: Deployment
net_set: flannel
users:
admin:
role: admin
bob:
role: provisioner
logger:
role: log