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

clear pod cpuset to support "cpuManagerPolicy=static" #177

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

morningtzh
Copy link
Contributor

When the kubelet configures cpuManagerPolicy as static, the Pod will specify CPU IDs for CPU affinity. Due to the different cpusets of the guest OS and host OS, this can lead to configuration failures. There is no need for CPU affinity in the guest OS, so the Pod's cpuset should be cleared.

@morningtzh morningtzh requested a review from a team as a code owner January 9, 2025 03:08
When the kubelet configures cpuManagerPolicy as static, the Pod will specify CPU IDs for CPU affinity. Due to the different cpusets of the guest OS and host OS, this can lead to configuration failures. There is no need for CPU affinity in the guest OS, so the Pod's cpuset should be cleared.

Signed-off-by: MorningTZH <[email protected]>
@abel-von abel-von merged commit fdcb454 into kuasar-io:main Jan 13, 2025
18 checks passed
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