helm
helm copied to clipboard
Ability to specify resources request and limits in Deployments and DeamonSet
Currently
https://github.com/nutanix/helm/blob/master/charts/nutanix-csi-storage/templates/ntnx-csi-node-ds.yaml https://github.com/nutanix/helm/blob/master/charts/nutanix-csi-storage/templates/ntnx-csi-controller-deployment.yaml
have a QoS Guaranteed with fixed resource request. In small dev clusters I notice that 0.5 CPU and 800MB of RAM are reserved, while only 0.0005 CPU and 200MB are used.
Can be possible to parametrize resources based on helm values?
Eg, replacing in templates:
{{- with .Values.controller.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
instead of :
resources:
requests:
cpu: 100m
memory: 200Mi