From cf9ec04c2bba17f22ddb0087d2df959835489614 Mon Sep 17 00:00:00 2001 From: Jim Dickinson Date: Sun, 31 Jan 2021 16:42:41 -0500 Subject: [PATCH] Add resource requests and limits in the helm chart --- charts/cass-operator-chart/templates/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/charts/cass-operator-chart/templates/deployment.yaml b/charts/cass-operator-chart/templates/deployment.yaml index a950e2a08..e6f4eb0f9 100644 --- a/charts/cass-operator-chart/templates/deployment.yaml +++ b/charts/cass-operator-chart/templates/deployment.yaml @@ -43,6 +43,13 @@ spec: image: {{ .Values.defaultImage }} {{- end }} imagePullPolicy: {{ .Values.imagePullPolicy }} + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: 1000m + memory: 100Mi volumeMounts: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cass-operator-certs-volume