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

xnat-web helm chart contains resource limit settings that can impact deployment #139

Open
dean-taylor opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dean-taylor
Copy link
Member

Describe the bug

Warning FailedCreate 67s (x16 over 3m51s) statefulset-controller create Pod xnat-xnat-web-0 in StatefulSet xnat-xnat-web failed error: Pod "xnat-xnat-web-0" is invalid: spec.containers[0].resources.requests: Invalid value: "4": must be less than or equal to cpu limit of 250m

Steps to reproduce

Add resource limits to the nat deployment values.

Expected behavior

Resource limits apply without issue.

XNAT Chart Version

all

Version of Helm

No response

Version of Kubernetes

No response

Additional context

Helm chart best practice is to not apply these values in the template.
There is an argument in Kubernetes that applying a CPU hard limit is an anti pattern that can have unintended resource allocation consequences. This argument stated that this setting should remain unset.

@dean-taylor dean-taylor added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant