diff --git a/deploy/chart/templates/daemonset.yaml b/deploy/chart/templates/daemonset.yaml index a5f2ec0f..3916af97 100644 --- a/deploy/chart/templates/daemonset.yaml +++ b/deploy/chart/templates/daemonset.yaml @@ -101,6 +101,10 @@ spec: securityContext: {{- toYaml . | nindent 12 }} {{- end }} + {{- with .Values.resources }} + resources: + {{- toYaml . | nindent 12 }} + {{- end }} volumeMounts: - mountPath: /etc/kubernetes name: k8s diff --git a/deploy/chart/values.yaml b/deploy/chart/values.yaml index ca1e4782..53802d31 100644 --- a/deploy/chart/values.yaml +++ b/deploy/chart/values.yaml @@ -104,5 +104,13 @@ volumeMounts: # - mountPath: /tmp/ # name: test-volume +resources: + # requests: + # memory: "100Mi" + # cpu: "50m" + # limits: + # memory: "1000Mi" + # cpu: "1000m" + # This flag allows to scrape /metrics endpoint without authorization allowUnauthorizedMetrics: false