add registry nodes

parent a9e3c59c
......@@ -142,6 +142,30 @@ module "git" {
vpc = "${module.network.self_link}"
}
##################################
#
# registry front-end
#
#################################
module "registry" {
bootstrap_version = 3
chef_provision = "${var.chef_provision}"
chef_run_list = "\"role[${var.environment}-base-fe-registry]\""
dns_zone_name = "${var.dns_zone_name}"
environment = "${var.environment}"
ip_cidr_range = "${var.subnetworks["registry"]}"
machine_type = "${var.machine_types["registry"]}"
name = "registry"
node_count = "${var.node_count["registry"]}"
project = "${var.project}"
public_ports = "${var.public_ports["registry"]}"
region = "${var.region}"
source = "../../modules/google/generic-sv"
tier = "sv"
vpc = "${module.network.self_link}"
}
##################################
#
# Database
......
......@@ -40,6 +40,7 @@ variable "public_ports" {
"git" = [22]
"redis" = [22]
"redis-cache" = [22]
"registry" = [22]
"sidekiq" = [22]
"stor" = [22]
"web" = [22]
......@@ -95,6 +96,7 @@ variable "machine_types" {
"monitoring" = "n1-standard-8"
"redis" = "n1-highmem-2"
"redis-cache" = "n1-highmem-16"
"registry" = "n1-standard-2"
"sidekiq-besteffort" = "n1-standard-64"
"stor" = "n1-standard-4"
"web" = "n1-standard-16"
......@@ -119,6 +121,7 @@ variable "node_count" {
"pgb" = 1
"redis" = 1
"redis-cache" = 1
"registry" = 1
"share" = 1
"sidekiq-besteffort" = 3
"stor" = 16
......@@ -142,6 +145,7 @@ variable "subnetworks" {
"pgb" = "10.217.4.0/24"
"redis" = "10.217.2.0/24"
"redis-cache" = "10.217.5.0/24"
"registry" = "10.220.10.0/23"
"sidekiq" = "10.220.6.0/23"
"stor" = "10.221.2.0/23"
"web" = "10.220.8.0/23"
......
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