samba-operator icon indicating copy to clipboard operation
samba-operator copied to clipboard

samba-operator-controller-manager deployment on openshift has minimal hardcoded ressource limits

Open turricum opened this issue 3 years ago • 2 comments

oc edit deployment/samba-operator-controller-manager and then:


       resources:
          limits:
            cpu: 100m
            memory: 100Mi
          requests:
            cpu: 100m
            memory: 20Mi

the results are Out of Memory fails. So i changed it manually and it works. The Values are to small ... (0,1 Core and 20M Memory)

turricum avatar May 13 '22 14:05 turricum

On this cluster it constantly uses a little under 128Mi. Is there data on how much it's expected to use or should it be configurable?

ibotty avatar May 24 '22 09:05 ibotty

The plan is to make a number of pod scheduling parameters & resource limits, etc configurable via the SmbCommonConfig resource. Thank you for the issue!

phlogistonjohn avatar May 24 '22 13:05 phlogistonjohn