58 lines
907 B
Terraform
58 lines
907 B
Terraform
|
variable "cluster_name" {
|
||
|
default = "kubespray"
|
||
|
}
|
||
|
|
||
|
variable "metal_project_id" {
|
||
|
description = "Your Equinix Metal project ID. See https://metal.equinix.com/developers/docs/accounts/"
|
||
|
}
|
||
|
|
||
|
variable "operating_system" {
|
||
|
default = "ubuntu_20_04"
|
||
|
}
|
||
|
|
||
|
variable "public_key_path" {
|
||
|
description = "The path of the ssh pub key"
|
||
|
default = "~/.ssh/id_rsa.pub"
|
||
|
}
|
||
|
|
||
|
variable "billing_cycle" {
|
||
|
default = "hourly"
|
||
|
}
|
||
|
|
||
|
variable "facility" {
|
||
|
default = "dfw2"
|
||
|
}
|
||
|
|
||
|
variable "plan_k8s_masters" {
|
||
|
default = "c3.small.x86"
|
||
|
}
|
||
|
|
||
|
variable "plan_k8s_masters_no_etcd" {
|
||
|
default = "c3.small.x86"
|
||
|
}
|
||
|
|
||
|
variable "plan_etcd" {
|
||
|
default = "c3.small.x86"
|
||
|
}
|
||
|
|
||
|
variable "plan_k8s_nodes" {
|
||
|
default = "c3.medium.x86"
|
||
|
}
|
||
|
|
||
|
variable "number_of_k8s_masters" {
|
||
|
default = 1
|
||
|
}
|
||
|
|
||
|
variable "number_of_k8s_masters_no_etcd" {
|
||
|
default = 0
|
||
|
}
|
||
|
|
||
|
variable "number_of_etcd" {
|
||
|
default = 0
|
||
|
}
|
||
|
|
||
|
variable "number_of_k8s_nodes" {
|
||
|
default = 1
|
||
|
}
|
||
|
|