Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRDs should have a separate setting for requests and limits under resources #1366

Closed
ryanemerson opened this issue Dec 23, 2021 · 0 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@ryanemerson
Copy link
Contributor

ryanemerson commented Dec 23, 2021

Currently the request/limits of the Infinispan pods CPU and memory are both set to the value of the spec.container.cpu and spec.container.memory field respectively. It should be possible for the user to define independent values.

In order to avoid additional fields to the existing CRD version we can add support for optionally defining both values with a : separator is present in the string field.

spec:
  container:
    cpu: "2000m:1000m"
    memory: 2Gi:1Gi:

The order of fields should be <limit>:<requests>.

This affects the Infinispan, Backup and Restore CRs.

@ryanemerson ryanemerson added the enhancement New feature or request label Dec 23, 2021
ryanemerson added a commit to ryanemerson/infinispan-operator that referenced this issue Dec 24, 2021
@ryanemerson ryanemerson changed the title CRD should have a separate setting for requests and limits under resources CRDs should have a separate setting for requests and limits under resources Dec 24, 2021
ryanemerson added a commit to ryanemerson/infinispan-operator that referenced this issue Dec 24, 2021
ryanemerson added a commit to ryanemerson/infinispan-operator that referenced this issue Dec 24, 2021
@ryanemerson ryanemerson added this to the 2.2.4 milestone Jan 17, 2022
ryanemerson added a commit to ryanemerson/infinispan-operator that referenced this issue Feb 15, 2022
ryanemerson added a commit to ryanemerson/infinispan-operator that referenced this issue Feb 16, 2022
ryanemerson added a commit to ryanemerson/infinispan-operator that referenced this issue Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant