Commit 06bc9ecc authored by John Jarvis's avatar John Jarvis

Increase pubsub capacity.

parent 5559dd30
...@@ -737,22 +737,23 @@ module "consul" { ...@@ -737,22 +737,23 @@ module "consul" {
################################## ##################################
module "pubsubbeat" { module "pubsubbeat" {
bootstrap_version = 3 bootstrap_version = 3
names = "${var.pubsubbeats["names"]}" allow_stopping_for_update = true
machine_types = "${var.pubsubbeats["machine_types"]}" names = "${var.pubsubbeats["names"]}"
chef_provision = "${var.chef_provision}" machine_types = "${var.pubsubbeats["machine_types"]}"
chef_run_list = "\"role[gprd-infra-consul]\"" chef_provision = "${var.chef_provision}"
dns_zone_name = "${var.dns_zone_name}" chef_run_list = "\"role[gprd-infra-consul]\""
environment = "${var.environment}" dns_zone_name = "${var.dns_zone_name}"
ip_cidr_range = "${var.subnetworks["pubsubbeat"]}" environment = "${var.environment}"
project = "${var.project}" ip_cidr_range = "${var.subnetworks["pubsubbeat"]}"
public_ports = "${var.public_ports["pubsubbeat"]}" project = "${var.project}"
region = "${var.region}" public_ports = "${var.public_ports["pubsubbeat"]}"
health_check = "tcp" region = "${var.region}"
service_port = 22 health_check = "tcp"
source = "../../modules/google/pubsubbeat" service_port = 22
tier = "inf" source = "../../modules/google/pubsubbeat"
vpc = "${module.network.self_link}" tier = "inf"
vpc = "${module.network.self_link}"
service_account_email = "${var.service_account_email}" service_account_email = "${var.service_account_email}"
} }
......
...@@ -91,7 +91,7 @@ variable "pubsubbeats" { ...@@ -91,7 +91,7 @@ variable "pubsubbeats" {
default = { default = {
"names" = ["gitaly", "haproxy", "pages", "postgres", "production", "system", "workhorse", "geo"] "names" = ["gitaly", "haproxy", "pages", "postgres", "production", "system", "workhorse", "geo"]
"machine_types" = ["n1-standard-1", "n1-standard-1", "n1-standard-1", "n1-standard-1", "n1-standard-1", "n1-standard-1", "n1-standard-1", "n1-standard-1"] "machine_types" = ["n1-standard-16", "n1-standard-1", "n1-standard-1", "n1-standard-1", "n1-standard-8", "n1-standard-1", "n1-standard-8", "n1-standard-1"]
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment