Skip to content

Commit

Permalink
Merge pull request #3 from SCT-Engineering/mcmCluster
Browse files Browse the repository at this point in the history
autoscaling
  • Loading branch information
morga471 committed Sep 3, 2024
2 parents 0c0a0b1 + 37e3834 commit 624875e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -91,11 +91,11 @@ 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" {
description = "The version of kiwigrid/k8s-sidecar to use for the gateway."
type = string
default = "1.24.3"
default = "1.27.4"
}

0 comments on commit 624875e

Please sign in to comment.