Skip to content

autoscaling #3

Merged
merged 3 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}