From 4852c4579586cd964f5df9c39b09d734736e1ff0 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Tue, 3 Dec 2024 01:00:11 -0300 Subject: [PATCH] fix: shard prometheus and remove kubelet --- .../stage1/o11y/resources/{kubelet.tf => kubelet.tf-skip} | 0 bootstrap/stage1/o11y/resources/prometheus.tf | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename bootstrap/stage1/o11y/resources/{kubelet.tf => kubelet.tf-skip} (100%) diff --git a/bootstrap/stage1/o11y/resources/kubelet.tf b/bootstrap/stage1/o11y/resources/kubelet.tf-skip similarity index 100% rename from bootstrap/stage1/o11y/resources/kubelet.tf rename to bootstrap/stage1/o11y/resources/kubelet.tf-skip diff --git a/bootstrap/stage1/o11y/resources/prometheus.tf b/bootstrap/stage1/o11y/resources/prometheus.tf index 33d860d..6cd5b63 100644 --- a/bootstrap/stage1/o11y/resources/prometheus.tf +++ b/bootstrap/stage1/o11y/resources/prometheus.tf @@ -17,6 +17,7 @@ resource "kubernetes_manifest" "prometheus" { }, ] } + "shards" = 2 "enableAdminAPI" = false "externalLabels" = { "cluster" : var.cluster_name @@ -31,10 +32,10 @@ resource "kubernetes_manifest" "prometheus" { "resources" = { "requests" = { "cpu" = "1" - "memory" = "14Gi" + "memory" = "13Gi" } "limits" = { - "memory" = "14Gi" + "memory" = "13Gi" } } "retention" = "30d"