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

System resource checks in kubernetes environments #186

Open
mscienski opened this issue Jan 12, 2023 · 0 comments
Open

System resource checks in kubernetes environments #186

mscienski opened this issue Jan 12, 2023 · 0 comments

Comments

@mscienski
Copy link

We're running taskq workers on kubernetes pods, but have encountered a less than ideal situation with the hasFreeSystemResources check. It appears that the Sysinfo checks are returning total RAM and CPU values for the entire k8s node, not the pod. So when we run on a node with 64GB of RAM, we'd have to specify the minimum memory for each taskq worker replica pod to be at least ~3072 MiB to meet the 5% threshold, which seems excessive.

We see an MR to make system resource customization customizable here: #95. We'd be interested in picking that up so that we could configure the limits when running on k8s nodes or other VM infrastructures, if Sysinfo is reporting total resources of the host rather than the pods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant