From d0b621070c38c892b441cadb345a38ace64fd51c Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Thu, 28 Sep 2023 20:39:57 +0300 Subject: [PATCH] :hammer: Lower the resource limits --- config/configStructs/tapConfig.go | 4 ++-- helm-chart/values.yaml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 2c7ac737d..d082fb884 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -34,8 +34,8 @@ const ( ) type ResourceLimits struct { - CPU string `yaml:"cpu" json:"cpu" default:"500m"` - Memory string `yaml:"memory" json:"memory" default:"500Mi"` + CPU string `yaml:"cpu" json:"cpu" default:"250m"` + Memory string `yaml:"memory" json:"memory" default:"333Mi"` } type ResourceRequests struct { diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index dfc7b3e68..3257d4cb1 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -27,29 +27,29 @@ tap: resources: sniffer: limits: - cpu: 500m - memory: 500Mi + cpu: 250m + memory: 333Mi requests: cpu: 50m memory: 50Mi server: limits: - cpu: 500m - memory: 500Mi + cpu: 250m + memory: 333Mi requests: cpu: 50m memory: 50Mi tracer: limits: - cpu: 500m - memory: 500Mi + cpu: 250m + memory: 333Mi requests: cpu: 50m memory: 50Mi hub: limits: - cpu: 500m - memory: 500Mi + cpu: 250m + memory: 333Mi requests: cpu: 50m memory: 50Mi