forked from cpolizzi/openshift4-libvirt-upi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
141 lines (118 loc) · 2.8 KB
/
variables.tf
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
variable "gen_dir" {
type = string
default = "./generated"
description = "Path to store all generated artifacts"
}
variable "base_domain" {
type = string
default = "example.io"
description = "Cluster base DNS domain"
}
variable "cluster_name" {
type = string
default = "mycluster"
description = "Cluster name"
}
variable "cluster_network_cidr_address" {
type = string
default = "192.168.200.0/24"
description = "Cluster network interface CIDR address"
}
variable "cluster_network_name" {
type = string
default = "ocp"
description = "Network name to create"
}
variable "cluster_network_bridge" {
type = string
default = "ocp"
description = "Network bridge device name to create"
}
variable "cluster_network_mac_oui" {
type = string
default = "52:54:00"
description = "MAC address vendor OUI to generate MAC addresses with for machines"
}
variable "bootstrap_cpu" {
type = number
default = 4
description = "Bootstrap number of CPUs"
}
variable "bootstrap_memory" {
type = number
default = 16
description = "Bootstrap memory in GiB"
}
variable "bootstrap_disk_size" {
type = number
default = 120
description = "Bootstrap disk size in GiB - TODO currently IGNORED"
}
variable "master_count" {
type = number
default = 1
description = "Number of masters"
}
variable "master_cpu" {
type = number
default = 4
description = "Number of CPUs per master"
}
variable "master_memory" {
type = number
default = 16
description = "Memory in GiB per master"
}
variable "master_disk_size" {
type = number
default = 120
description = "Disk size in GiB per master - TODO currently IGNORED"
}
variable "worker_count" {
type = number
default = 1
description = "Number of workers"
}
variable "worker_cpu" {
type = number
default = 2
description = "Number of CPUs per worker"
}
variable "worker_memory" {
type = number
default = 8
description = "Memory in GiB per worker"
}
variable "worker_disk_size" {
type = number
default = 120
description = "Disk size in GiB per worker - TODO currently IGNORED"
}
variable "infra_count" {
type = number
default = 0
description = "Number of infras"
}
variable "infra_cpu" {
type = number
default = 2
description = "Number of CPUs per infra"
}
variable "infra_memory" {
type = number
default = 8
description = "Memory in GiB per infra"
}
variable "infra_disk_size" {
type = number
default = 120
description = "Disk size in GiB per infra - TODO currently IGNORED"
}
variable "pull_secret_file" {
type = string
description = "File containing pull secret"
}
variable "openshift_installer" {
type = string
description = "Path to the OpenShift installer"
}