Commit 56837374 authored by Ahmad Sherif's avatar Ahmad Sherif

Downsize gstg sidekiq to n1-standard-4

Related to https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6052
parent 9f5e47c8
......@@ -340,15 +340,15 @@ variable "machine_types" {
"registry" = "n1-standard-2"
"registry-analytics" = "n1-standard-1"
"sd-exporter" = "n1-standard-1"
"sidekiq-asap" = "n1-standard-8"
"sidekiq-besteffort" = "n1-standard-8"
"sidekiq-elasticsearch" = "n1-standard-8"
"sidekiq-import" = "n1-standard-8"
"sidekiq-pages" = "n1-standard-8"
"sidekiq-pipeline" = "n1-standard-8"
"sidekiq-pullmirror" = "n1-standard-8"
"sidekiq-realtime" = "n1-highmem-16"
"sidekiq-traces" = "n1-standard-8"
"sidekiq-asap" = "n1-standard-4"
"sidekiq-besteffort" = "n1-standard-4"
"sidekiq-elasticsearch" = "n1-standard-4"
"sidekiq-import" = "n1-standard-4"
"sidekiq-pages" = "n1-standard-4"
"sidekiq-pipeline" = "n1-standard-4"
"sidekiq-pullmirror" = "n1-standard-4"
"sidekiq-realtime" = "n1-standard-4"
"sidekiq-traces" = "n1-standard-4"
"stor" = "n1-standard-32"
"thanos-compact" = "n1-standard-2"
"thanos-store" = "n1-highmem-8"
......
......@@ -607,6 +607,7 @@ module "redis-cache" {
##################################
module "sidekiq" {
allow_stopping_for_update = true
bootstrap_version = "${var.bootstrap_script_version}"
chef_provision = "${var.chef_provision}"
chef_run_list = "\"role[${var.environment}-base-be-sidekiq-besteffort]\""
......@@ -639,7 +640,7 @@ module "sidekiq" {
sidekiq_realtime_instance_type = "${var.machine_types["sidekiq-realtime"]}"
sidekiq_traces_count = "${var.node_count["sidekiq-traces"]}"
sidekiq_traces_instance_type = "${var.machine_types["sidekiq-traces"]}"
source = "git::ssh://git@ops.gitlab.net/gitlab-com/gl-infra/terraform-modules/google/generic-sv-sidekiq.git?ref=v1.0.3"
source = "git::ssh://git@ops.gitlab.net/gitlab-com/gl-infra/terraform-modules/google/generic-sv-sidekiq.git?ref=v1.0.4"
tier = "sv"
use_new_node_name = true
vpc = "${module.network.self_link}"
......
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