-
Notifications
You must be signed in to change notification settings - Fork 367
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
Default upgradeJobResources values are too low and get the UpgradeCRD job OOMKilled #515
Comments
I only had to bump memory a little....
I have a small 6 node home lab environment and the default values couldn't handle that. |
How about remove the request/limit default value within values.yaml? |
It was added here: #514 |
It should be commented out and left for the user to enable. If the default is known to be invalid, then bump up the default. No reason to set the default to something known to OOM kill. That's just mean. |
@reefland Would you mind file a PR to address it? |
…something generous that actually works. Revert this once vmware-tanzu/helm-charts#515 is resolved Signed-off-by: Jan Lohage <[email protected]>
…limits .upgradeJobResources defaults are too low (128Mi limit). set them to something generous that actually works. Revert this once vmware-tanzu/helm-charts#515 is resolved (#1168) Signed-off-by: Jan Lohage <[email protected]>
…limits .upgradeJobResources defaults are too low (128Mi limit). set them to something generous that actually works. Revert this once vmware-tanzu/helm-charts#515 is resolved (#1168) Signed-off-by: Jan Lohage <[email protected]>
…limits .upgradeJobResources defaults are too low (128Mi limit). set them to something generous that actually works. Revert this once vmware-tanzu/helm-charts#515 is resolved (#1168) Signed-off-by: Jan Lohage <[email protected]>
What steps did you take and what happened:
Upgrading the Velero Helm chart from velero-5.1.2 to velero-5.1.3 fails:
the Upgrade CRD job cannot complete due to the pods of the job being OOMKilled when using the chart default resource values.
What did you expect to happen:
The upgrade CRD job using the Chart default resource values should not be OOMKilled.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)
Anything else you would like to add:
The job resumed working as intended when I bumped it with the following resource requirements:
I am not sure if the OOMKill is due to my environment or because the default values are too low.
I would gladly do the PR if you want, but I am not sure that the values I provided are the best values.
Also, I often hear that setting CPU limits are an anti-pattern and should be avoided, is there a particular reason you set default CPU limit values in this chart instead of making them optional?
Environment:
helm version
):3.11.2
(packaged with ArgoCD)helm list -n <YOUR NAMESPACE>
):Chart version:
velero-5.1.3
App version:
v1.12.1
kubectl version
):Google Cloud Platform
/etc/os-release
):The text was updated successfully, but these errors were encountered: