Files
teleport/assets/loadtest/cluster/Makefile
T
rosstimothy e51433fff6 Add Teleport loadtest infrastructure and grafana dashboard (#9023)
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.
2021-12-07 17:17:02 -05:00

29 lines
584 B
Makefile

# preview cluster configuration
.PHONY: plan
plan:
terraform plan
# apply cluster configuration
.PHONY: apply
apply:
terraform apply
# authorize kubectl to manage the cluster
.PHONY: get-creds
get-creds:
gcloud container clusters get-credentials $(shell make get-cluster-name) --zone us-central1 --project teleport-loadtest
# destroy the cluster
.PHONY: destroy
destroy:
terraform destroy
# print cluster name
.PHONY: get-cluster-name
get-cluster-name:
@terraform output -raw cluster_name
# print project name
.PHONY: get-project
get-project:
@terraform output -raw project