From 1f0a7e81073b7d56a4538569021e2f247b19301c Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 29 Aug 2024 19:09:19 -0400 Subject: [PATCH 1/3] autoscaling --- main.tf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/main.tf b/main.tf index 726adbd..9b1aa65 100644 --- a/main.tf +++ b/main.tf @@ -216,6 +216,36 @@ resource "helm_release" "loki" { value = var.rwo_storage_class } + ##### AutoScaling ##### + set { + name = "write.autoscaling.enabled" + value = true + } + set { + name = "read.autoscaling.enabled" + value = true + } + set { + name = "backend.autoscaling.enabled" + value = true + } + set { + name = "ingester.autoscaling.enabled" + value = true + } + set { + name = "distributor.autoscaling.enabled" + value = true + } + set { + name = "querier.autoscaling.enabled" + value = true + } + set { + name = "queryFrontend.autoscaling.enabled" + value = true + } + ##### Schema Config ##### set { name = "loki.schemaConfig.configs[0].from" From 226154b383f5a988a430d71714358cb15c2a86d6 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 29 Aug 2024 21:33:08 -0400 Subject: [PATCH 2/3] update versions --- variables.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/variables.tf b/variables.tf index ecad875..0f5b792 100644 --- a/variables.tf +++ b/variables.tf @@ -54,14 +54,14 @@ variable "rwo_storage_class" { variable "loki_chart_version" { description = "Which version of the grafana/loki helm chart to use." type = string - default = "6.6.5" + default = "6.10.2" } # The [APP VERSION] associated with the helm chart. variable "loki_tag" { description = "The tag of the loki image to use." type = string - default = "3.0.0" + default = "3.1.1" } variable "canary_tag" { @@ -91,7 +91,7 @@ variable "memcached_tag" { variable "exporter_tag" { description = "The version of prom/memcached-exporter to use for the gateway." type = string - default = "v0.14.2" + default = "v0.14.4" } variable "sidecar_tag" { From 37e3834bd7c77ca0a66ed5ea6eeb9216cad7ad56 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Fri, 30 Aug 2024 18:26:58 -0400 Subject: [PATCH 3/3] update sidecar version --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 0f5b792..31e18bb 100644 --- a/variables.tf +++ b/variables.tf @@ -97,5 +97,5 @@ variable "exporter_tag" { variable "sidecar_tag" { description = "The version of kiwigrid/k8s-sidecar to use for the gateway." type = string - default = "1.24.3" + default = "1.27.4" }