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

How do you modify the CPU request?

Open peterlai-roboops opened this issue 1 year ago • 1 comments

I take it its meant to be added to the "QuayRegistry" config, but where?

spec: components: - kind: clair managed: true

spec: components: - kind: clair managed: true resources: limits: cpu: '4'

I tried this, but that don't seem to be it.

peterlai-roboops avatar Dec 11 '23 08:12 peterlai-roboops

Unfortunately, there is currently no way to override resource requests or limits. See https://github.com/quay/quay-operator/blob/master/apis/quay/v1/quayregistry_types.go#L138-L145. This is something that has been discussed by the team as a desirable feature to have, so a contribution would be more than welcomed if you'd be up for it.

flavianmissi avatar Dec 11 '23 16:12 flavianmissi