Skip to content

Conversation

@zhouang777
Copy link
Collaborator

No description provided.


# 获取总内存大小(以字节为单位)
total_memory = memory.total
pod_memory_limit = get_pod_memory_limit()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该有之前开源贡献的内容被覆盖了,记得同步一下

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已同步开源贡献者的cgroup控制代码

Copy link
Collaborator

@ValKmjolnir ValKmjolnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ValKmjolnir ValKmjolnir merged commit e453288 into main Dec 9, 2024
2 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.

3 participants