Commit fec449b3 authored by Craig Miskell's avatar Craig Miskell

New redis-sidekiq nodes in gstg

parent 3712fbf1
......@@ -642,6 +642,30 @@ module "redis" {
vpc = "${module.network.self_link}"
}
module "redis-sidekiq" {
allow_stopping_for_update = true
bootstrap_version = "${var.bootstrap_script_version}"
chef_provision = "${var.chef_provision}"
chef_run_list = "\"role[${var.environment}-base-db-redis-server-sidekiq]\""
data_disk_size = 52
data_disk_type = "pd-ssd"
dns_zone_name = "${var.dns_zone_name}"
egress_ports = "${var.egress_ports}"
environment = "${var.environment}"
ip_cidr_range = "${var.subnetworks["redis-sidekiq"]}"
machine_type = "${var.machine_types["redis-sidekiq"]}"
name = "redis-sidekiq"
node_count = "${var.node_count["redis-sidekiq"]}"
project = "${var.project}"
public_ports = "${var.public_ports["redis-sidekiq"]}"
region = "${var.region}"
service_account_email = "${var.service_account_email}"
source = "git::ssh://git@ops.gitlab.net/gitlab-com/gl-infra/terraform-modules/google/generic-stor.git?ref=v1.1.1"
tier = "db"
use_new_node_name = true
vpc = "${module.network.self_link}"
}
module "redis-cache" {
bootstrap_version = "${var.bootstrap_script_version}"
chef_provision = "${var.chef_provision}"
......
......@@ -250,6 +250,7 @@ variable "public_ports" {
"patroni" = []
"pubsubbeat" = []
"redis" = []
"redis-sidekiq" = []
"redis-cache" = []
"registry" = []
"registry-analytics" = []
......@@ -338,6 +339,7 @@ variable "machine_types" {
"monitoring" = "n1-standard-4"
"patroni" = "n1-standard-8"
"redis" = "n1-standard-8"
"redis-sidekiq" = "n1-standard-8"
"redis-cache" = "n1-highmem-16"
"redis-cache-sentinel" = "n1-standard-1"
"registry" = "n1-standard-2"
......@@ -394,6 +396,7 @@ variable "node_count" {
"postgres-11" = 6
"pgb" = 3
"redis" = 3
"redis-sidekiq" = 3
"redis-cache" = 3
"redis-cache-sentinel" = 3
"registry" = 2
......@@ -457,6 +460,7 @@ variable "subnetworks" {
"pubsubbeat" = "10.226.2.0/24"
"redis" = "10.224.7.0/24"
"redis-cache" = "10.224.8.0/24"
"redis-sidekiq" = "10.224.22.0/24"
"registry" = "10.224.10.0/24"
"registry-analytics" = "10.224.28.0/24"
"runner" = "10.224.16.0/24"
......
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