2019-01-31 23:24:36 +08:00
|
|
|
# your Kubernetes cluster name here
|
|
|
|
cluster_name = "mycluster"
|
|
|
|
|
2021-05-28 02:58:24 +08:00
|
|
|
# Your Equinix Metal project ID. See hhttps://metal.equinix.com/developers/docs/accounts/
|
2019-01-31 23:24:36 +08:00
|
|
|
packet_project_id = "Example-API-Token"
|
|
|
|
|
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
|
|
|
|
|
|
|
# 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"
|