From 4e9d0a44858308807093578d784aa6e2b1222825 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Mon, 23 Oct 2023 13:52:37 -0400 Subject: [PATCH] different resources --- k8s/apps/frigate/templates/deployment.yaml | 4 ++-- k8s/apps/frigate/values.yaml | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/k8s/apps/frigate/templates/deployment.yaml b/k8s/apps/frigate/templates/deployment.yaml index 98c7245..2659464 100644 --- a/k8s/apps/frigate/templates/deployment.yaml +++ b/k8s/apps/frigate/templates/deployment.yaml @@ -34,7 +34,7 @@ spec: privileged: true image: "{{ .Values.images.frigate.repo }}:{{ .Values.images.frigate.tag | default .Chart.AppVersion }}" resources: - {{- .Values.resources | toYaml | nindent 14}} + {{- .Values.frigate.resources | toYaml | nindent 14}} livenessProbe: httpGet: path: / @@ -110,7 +110,7 @@ spec: privileged: true image: "{{ .Values.images.go2rtc.repo }}:{{ .Values.images.go2rtc.tag | default .Chart.AppVersion }}" resources: - {{- .Values.resources | toYaml | nindent 14}} + {{- .Values.go2rtc.resources | toYaml | nindent 14}} livenessProbe: httpGet: path: / diff --git a/k8s/apps/frigate/values.yaml b/k8s/apps/frigate/values.yaml index 57fe6f9..1ae8242 100644 --- a/k8s/apps/frigate/values.yaml +++ b/k8s/apps/frigate/values.yaml @@ -17,9 +17,17 @@ persistence: claimName: "" resources: - requests: - memory: "1Gi" - cpu: "2" - limits: - memory: "1Gi" - cpu: "2" + frigate: + requests: + memory: "1Gi" + cpu: "2" + limits: + memory: "1Gi" + cpu: "2" + go2rtc: + requests: + memory: "1Gi" + cpu: "1" + limits: + memory: "1Gi" + cpu: "1"