2019-01-31 23:24:36 +08:00
|
|
|
# your Kubernetes cluster name here
|
|
|
|
cluster_name = "mycluster"
|
|
|
|
|
2023-02-08 09:55:10 +08:00
|
|
|
# Your Equinix Metal project ID. See https://metal.equinix.com/developers/docs/accounts/
|
2023-01-27 13:24:25 +08:00
|
|
|
equinix_metal_project_id = "Example-Project-Id"
|
2019-01-31 23:24:36 +08:00
|
|
|
|
2021-05-28 02:58:24 +08:00
|
|
|
# The public SSH key to be uploaded into authorized_keys in bare metal Equinix Metal nodes provisioned
|
|
|
|
# leave this value blank if the public key is already setup in the Equinix Metal project
|
|
|
|
# Terraform will complain if the public key is setup in Equinix Metal
|
2019-01-31 23:24:36 +08:00
|
|
|
public_key_path = "~/.ssh/id_rsa.pub"
|
|
|
|
|
|
|
|
# cluster location
|
2019-04-25 15:40:46 +08:00
|
|
|
facility = "ewr1"
|
2019-01-31 23:24:36 +08:00
|
|
|
|
2023-01-27 13:24:25 +08:00
|
|
|
# operating_system
|
|
|
|
operating_system = "ubuntu_22_04"
|
|
|
|
|
2019-01-31 23:24:36 +08:00
|
|
|
# standalone etcds
|
|
|
|
number_of_etcd = 0
|
2019-04-08 17:22:24 +08:00
|
|
|
|
2019-04-04 16:42:52 +08:00
|
|
|
plan_etcd = "t1.small.x86"
|
2019-01-31 23:24:36 +08:00
|
|
|
|
|
|
|
# masters
|
|
|
|
number_of_k8s_masters = 1
|
2019-04-08 17:22:24 +08:00
|
|
|
|
2019-01-31 23:24:36 +08:00
|
|
|
number_of_k8s_masters_no_etcd = 0
|
2019-04-08 17:22:24 +08:00
|
|
|
|
2019-04-04 16:42:52 +08:00
|
|
|
plan_k8s_masters = "t1.small.x86"
|
2019-04-08 17:22:24 +08:00
|
|
|
|
2019-04-04 16:42:52 +08:00
|
|
|
plan_k8s_masters_no_etcd = "t1.small.x86"
|
2019-01-31 23:24:36 +08:00
|
|
|
|
|
|
|
# nodes
|
|
|
|
number_of_k8s_nodes = 2
|
2019-04-08 17:22:24 +08:00
|
|
|
|
2019-04-04 16:42:52 +08:00
|
|
|
plan_k8s_nodes = "t1.small.x86"
|