2019-01-31 15:24:36 +00:00
|
|
|
variable "cluster_name" {
|
|
|
|
default = "kubespray"
|
|
|
|
}
|
|
|
|
|
2022-04-27 17:34:13 +00:00
|
|
|
variable "metal_project_id" {
|
2021-05-27 18:58:24 +00:00
|
|
|
description = "Your Equinix Metal project ID. See https://metal.equinix.com/developers/docs/accounts/"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "operating_system" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = "ubuntu_20_04"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "public_key_path" {
|
|
|
|
description = "The path of the ssh pub key"
|
|
|
|
default = "~/.ssh/id_rsa.pub"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "billing_cycle" {
|
|
|
|
default = "hourly"
|
|
|
|
}
|
|
|
|
|
2019-04-25 07:40:46 +00:00
|
|
|
variable "facility" {
|
|
|
|
default = "dfw2"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "plan_k8s_masters" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = "c3.small.x86"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "plan_k8s_masters_no_etcd" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = "c3.small.x86"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "plan_etcd" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = "c3.small.x86"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "plan_k8s_nodes" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = "c3.medium.x86"
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "number_of_k8s_masters" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = 1
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "number_of_k8s_masters_no_etcd" {
|
|
|
|
default = 0
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "number_of_etcd" {
|
|
|
|
default = 0
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "number_of_k8s_nodes" {
|
2022-04-27 17:34:13 +00:00
|
|
|
default = 1
|
2019-01-31 15:24:36 +00:00
|
|
|
}
|
2019-10-29 07:02:42 +00:00
|
|
|
|