-
Notifications
You must be signed in to change notification settings - Fork 128
Move hugetlb pid out of /kubepods #835
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1.
Reviewable status: 0 of 1 approvals obtained
@ivan4th any ideas about it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this code shouldn't fail hard if the hugetlb controller is missing (CONFIG_CGROUP_HUGETLB
not set for the host kernel)?
Reviewable status:
complete! 1 of 1 approvals obtained
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! 2 of 1 approvals obtained (waiting on @keyingliu)
a discussion (no related file):
Oops approved by accident, need to resolve the above issue
@ivan4th if hugetlb is not set, the code only prints an error message and doesn't fail. if the error message is not acceptable, the code needs to be:
Which one do you prefer? |
Please rebase the branch on top of the master branch. |
close this PR will file a new one. |
If virtlet pod is deleted, the qemu instances will be killed by kubelet for some cases. See #830 for more details.
Not sure whether libvirt itself can manage hugetlb cgroup, this is a temp fix, just FYI for those who met same issue.
This change is