Skip to content

fix: implement container-aware CPU detection#1170

Open
jorsol wants to merge 1 commit intozalando:triggerfrom
jorsol:cgroup-cpu-count
Open

fix: implement container-aware CPU detection#1170
jorsol wants to merge 1 commit intozalando:triggerfrom
jorsol:cgroup-cpu-count

Conversation

@jorsol
Copy link
Copy Markdown

@jorsol jorsol commented Jan 24, 2026

Instead of returning the host's physical CPU count, this now checks Cgroup v1/v2 quotas and process affinity. This ensures the application scales based on available container resources rather than host hardware.

Instead of returning the host's physical CPU count, this now checks
Cgroup v1/v2 quotas and process affinity. This ensures the application
scales based on available container resources rather than host hardware.
@zalando-robot
Copy link
Copy Markdown

Cannot start a pipeline due to:

No accountable user for this pipeline: no Zalando employee associated to this GitHub username

Click on pipeline status check Details link below for more information.

@jorsol
Copy link
Copy Markdown
Author

jorsol commented Feb 11, 2026

Any comment on this?

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

Successfully merging this pull request may close these issues.

2 participants