From 49c3894c8c579475b235c87cf7e69e696e18e0bd Mon Sep 17 00:00:00 2001 From: mglotov <37855803+mglotov@users.noreply.github.com> Date: Tue, 31 Oct 2023 11:25:57 +0600 Subject: [PATCH] fix: set k8s resources for Loki workload (#342) --- terraform/layer2-k8s/eks-loki-stack.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/terraform/layer2-k8s/eks-loki-stack.tf b/terraform/layer2-k8s/eks-loki-stack.tf index bb04c653..3cf42973 100644 --- a/terraform/layer2-k8s/eks-loki-stack.tf +++ b/terraform/layer2-k8s/eks-loki-stack.tf @@ -13,6 +13,13 @@ loki: rbac: create: true pspEnabled: false # Due to psp removed in k8s 1.25 and latest loki-stack chart doesn't maintain new PSP version + resources: + limits: + cpu: 1 + memory: 1Gi + requests: + cpu: 500m + memory: 1Gi config: limits_config: enforce_metric_name: false