NetApp / trident

Storage orchestrator for containers
Apache License 2.0
762 stars 222 forks source link

Configurable resources for trident-operator #927

Open fisju opened 1 month ago

fisju commented 1 month ago

Currently there's no way to configure resources for trident-operator, e.g. cpuLimit of 20m seems to be too low and is causing cpu throttling.

Proposed solution is to update values.yaml and templates/deployment.yaml

helm/trident-operator/templates/deployment.yaml:

        resources:
        {{- .Values.operatorResources | toYaml | nindent 10 }}

helm/trident-operator/values.yaml:

# operatorResources allows configurable trident-operator resources 
operatorResources:
  requests:
    cpu: "10m"
    memory: "40Mi"
  limits:
    cpu: "20m"
    memory: "80Mi"