mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Canary proxies are not receiving real traffic but can be useful when testing Nomulus deployment (probers will probe canary proxy and compare metrics with production proxy). This CL added a separate load balancer for a canary proxy, running on the same clusters as production proxy. The canary proxies have their own IP addresses, but are not assigned domain names. Probers will directly connect to these endpoints by IP. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193234937
25 lines
834 B
HCL
25 lines
834 B
HCL
module "proxy_gke_americas" {
|
|
source = "./gke"
|
|
proxy_cluster_region = "americas"
|
|
proxy_service_account_email = "${google_service_account.proxy_service_account.email}"
|
|
}
|
|
|
|
module "proxy_gke_emea" {
|
|
source = "./gke"
|
|
proxy_cluster_region = "emea"
|
|
proxy_service_account_email = "${google_service_account.proxy_service_account.email}"
|
|
}
|
|
|
|
module "proxy_gke_apac" {
|
|
source = "./gke"
|
|
proxy_cluster_region = "apac"
|
|
proxy_service_account_email = "${google_service_account.proxy_service_account.email}"
|
|
}
|
|
|
|
locals {
|
|
"proxy_instance_groups" = {
|
|
americas = "${module.proxy_gke_americas.proxy_instance_group}"
|
|
emea = "${module.proxy_gke_emea.proxy_instance_group}"
|
|
apac = "${module.proxy_gke_apac.proxy_instance_group}"
|
|
}
|
|
}
|