Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
gitlab-com
gitlab-com-infrastructure
Commits
06bc9ecc
Commit
06bc9ecc
authored
May 08, 2018
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase pubsub capacity.
parent
5559dd30
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
environments/gprd/main.tf
environments/gprd/main.tf
+17
-16
environments/gprd/variables.tf
environments/gprd/variables.tf
+1
-1
No files found.
environments/gprd/main.tf
View file @
06bc9ecc
...
@@ -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
}
"
}
}
...
...
environments/gprd/variables.tf
View file @
06bc9ecc
...
@@ -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-1
6
"
,
"n1-standard-1"
,
"n1-standard-1"
,
"n1-standard-1"
,
"n1-standard-
8
"
,
"n1-standard-1"
,
"n1-standard-
8
"
,
"n1-standard-1"
]
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment