-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform-3workers-dnsmasq.yaml
109 lines (99 loc) · 2.49 KB
/
terraform-3workers-dnsmasq.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
libvirt_uri = "qemu+ssh://[email protected]/system"
coreos_image = "fedora-coreos-35.20220327.3.0-qemu.x86_64.qcow2"
domainname = "okd4.staticlab.tld"
utility_hosts = {
stcutility = {
mac = "12:22:34:44:55:30"
vcpus = 2
memory = 4096
dnsmasq = true
ip_address = "172.16.3.30"
vnc_address = "172.16.1.10"
disk_size = 21474836480
network = "staticnet"
network_ip = "172.16.3.0"
gateway_ip = "172.16.3.254"
ssh_key = "<enter ssh public key here>"
}
}
okd_hosts = {
stcbootstrap = {
mac = "12:22:34:44:55:00"
vcpus = 4
memory = 16384
ignition = "bootstrap.ign"
ip_address = "172.16.3.40"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
}
stcmaster1 = {
mac = "12:22:34:44:55:01"
vcpus = 4
memory = 16384
ignition = "master.ign"
ip_address = "172.16.3.41"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
}
stcmaster2 = {
mac = "12:22:34:44:55:02"
vcpus = 4
memory = 16384
ignition = "master.ign"
ip_address = "172.16.3.42"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
}
stcmaster3 = {
mac = "12:22:34:44:55:03"
vcpus = 4
memory = 16384
ignition = "master.ign"
ip_address = "172.16.3.43"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
}
stcworker1 = {
mac = "12:22:34:44:55:11"
vcpus = 4
memory = 16384
ignition = "worker.ign"
ip_address = "172.16.3.51"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
extra_disks = {
"extra-0" = 214748364800
}
}
stcworker2 = {
mac = "12:22:34:44:55:12"
vcpus = 4
memory = 16384
ignition = "worker.ign"
ip_address = "172.16.3.52"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
extra_disks = {
"extra-0" = 214748364800
}
}
stcworker3 = {
mac = "12:22:34:44:55:13"
vcpus = 4
memory = 16384
ignition = "worker.ign"
ip_address = "172.16.3.53"
vnc_address = "172.16.1.10"
network = "staticnet"
disk_size = 107374182400
extra_disks = {
"extra-0" = 214748364800
}
}
}