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.
968 B
cluster
Automation for creating the loadtest kubernetes cluster.
Usage
Confirm that everything is working correctly:
$ make plan
If you are running this automation for the first time, you may be asked to run
terraform init before continuing.
To create/resize the cluster, edit terraform.tfvars
as needed, then run:
$ make apply
NOTE: The node pool is spread across three regions, so the nodes_per_zone variable
should be set to 1/3 the total desired nodes. Nodes run ~100 pods each, so for a 1k test for example,
you will need to set nodes_per_zone to 4. Don't set this value larger than it needs to be.
Once the cluster is up, configure kubectl with the appropriate credentials:
$ make get-creds
You should now be ready to proceed with test-specific setup (e.g. k8s).
When you are done, make sure that you destroy the cluster:
$ make destroy