k3s/tests/perf/server/variables.tf

97 lines
1.7 KiB
Terraform
Raw Normal View History

2019-10-31 21:06:54 +00:00
variable "server_instance_type" {
# default = "c4.8xlarge"
}
variable "k3s_version" {
default = "v0.9.1"
type = string
description = "Version of K3S to install"
}
variable "k3s_server_args" {
default = ""
}
variable "prom_worker_node_count" {
default = 0
type = number
description = "The number of workers to create labeled for prometheus"
}
variable "k3s_cluster_secret" {
default = "pvc-6476dcaf-73a0-11e9-b8e5-06943b744282"
type = string
description = "Cluster secret for k3s cluster registration"
}
2019-11-04 16:09:54 +00:00
2019-10-31 21:06:54 +00:00
variable "name" {
default = "k3s-loadtest"
type = string
description = "Name to identify this cluster"
}
variable "ssh_key_path" {
default = "~/.ssh/id_rsa"
type = string
description = "Path of the private key to ssh to the nodes"
}
variable "extra_ssh_keys" {
type = list
default = []
description = "Extra ssh keys to inject into Rancher instances"
}
2019-11-04 16:09:54 +00:00
variable "server_ha" {
2019-10-31 21:06:54 +00:00
default = 0
description = "Enable k3s in HA mode"
}
2019-11-04 16:09:54 +00:00
variable "etcd_count" {
default = 3
}
variable "db_engine" {
default = "postgres"
}
2019-10-31 21:06:54 +00:00
variable "db_instance_type" {
}
variable "db_name" {
default = "k3s"
}
variable "db_username" {
default = "postgres"
}
variable "db_password" {
default = "b58bf234c4bd0133fc7a92b782e498a6"
}
2019-11-04 16:09:54 +00:00
variable "db_version" {}
variable "server_count" {
2019-10-31 21:06:54 +00:00
default = 1
description = "Count of k3s master servers"
}
variable "debug" {
default = 0
description = "Enable Debug log"
}
2019-11-04 16:09:54 +00:00
variable "prom_worker_instance_type" {
default = "m5.large"
description = "Prometheus instance type"
}
variable "domain_name" {
description = "FQDN of the cluster"
}
variable "zone_id" {
description = "route53 zone id to register the domain name"
}