From a5be1a8eaac2f90e539e7757f604ee0ec06e17c3 Mon Sep 17 00:00:00 2001 From: tgaliotto <101407719+tgaliotto@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:30:50 +0100 Subject: [PATCH] add request and limits for tracer container (#1459) Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com> --- helm-chart/templates/09-worker-daemon-set.yaml | 7 +++++++ helm-chart/values.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 51b5bc598..062de7576 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -146,6 +146,13 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + resources: + limits: + cpu: {{ .Values.tap.resources.tracer.limits.cpu }} + memory: {{ .Values.tap.resources.tracer.limits.memory }} + requests: + cpu: {{ .Values.tap.resources.tracer.requests.cpu }} + memory: {{ .Values.tap.resources.tracer.requests.memory }} securityContext: capabilities: add: diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 2552274a8..749b352b1 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -32,6 +32,13 @@ tap: requests: cpu: 50m memory: 50Mi + tracer: + limits: + cpu: 750m + memory: 1Gi + requests: + cpu: 50m + memory: 150Mi hub: limits: cpu: 750m