mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 21:52:02 +08:00
This adds loadtesting automation and k8s yamls to deploy teleport to a k8s cluster. The grafana health dashboard is also included and can be consumed by end users to better monitor their teleport clusters.
40 lines
1001 B
Terraform
40 lines
1001 B
Terraform
variable "project" {
|
|
type = string
|
|
description = "The project to manage resources in."
|
|
}
|
|
|
|
variable "region" {
|
|
type = string
|
|
description = "The region to manage resources in."
|
|
default = "us-central1"
|
|
}
|
|
|
|
variable "zone" {
|
|
type = string
|
|
description = "The zone to manage resources in."
|
|
default = "us-central1-a"
|
|
}
|
|
|
|
variable "nodes_per_zone" {
|
|
type = number
|
|
description = "The number of kubernetes nodes per zone"
|
|
default = 1
|
|
}
|
|
|
|
variable "cluster_name" {
|
|
type = string
|
|
description = "The name of the cluster, unique within the project and location."
|
|
default = "loadtest"
|
|
}
|
|
|
|
variable "node_locations" {
|
|
type = set(string)
|
|
description = "The list of zones in which the node pool's nodes should be located."
|
|
default = ["us-central1-b", "us-central1-f", "us-central1-c"]
|
|
}
|
|
|
|
variable "network" {
|
|
type = string
|
|
description = "The network to be used by the cluster"
|
|
default = "default-us-central1"
|
|
} |