-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcluster.yml
94 lines (94 loc) · 1.31 KB
/
cluster.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
# placemat config file
kind: Network
name: ext-net
type: external
use-nat: true
address: __BRIDGE_ADDRESS__/24
---
kind: Image
name: coreos
file: ../__COREOS_IMAGE__
---
kind: Node
name: host1
interfaces:
- ext-net
cpu: 1
memory: 2G
ignition: host1.ign
volumes:
- kind: image
name: root
image: coreos
copy-on-write: true
- kind: hostPath
name: ignitions
folder: ignitions
path: __IGNITIONS_FOLDER__
smbios:
serial: "00000001"
---
kind: Node
name: host2
interfaces:
- ext-net
cpu: 1
memory: 1G
ignition: host2.ign
volumes:
- kind: image
name: root
image: coreos
copy-on-write: true
- kind: hostPath
name: ignitions
folder: ignitions
path: __IGNITIONS_FOLDER__
smbios:
serial: "00000002"
---
kind: Node
name: host3
interfaces:
- ext-net
cpu: 1
memory: 1G
ignition: host3.ign
volumes:
- kind: image
name: root
image: coreos
copy-on-write: true
- kind: hostPath
name: ignitions
folder: ignitions
path: __IGNITIONS_FOLDER__
smbios:
serial: "00000003"
---
kind: Node
name: worker1
interfaces:
- ext-net
volumes:
- kind: raw
name: data
size: 10G
cpu: 1
memory: 3G
smbios:
serial: "00000004"
---
kind: Node
name: worker2
interfaces:
- ext-net
volumes:
- kind: raw
name: data
size: 10G
cpu: 1
memory: 3G
smbios:
serial: "00000005"
tpm: true