-
Notifications
You must be signed in to change notification settings - Fork 268
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
Cgroup parent #100
Cgroup parent #100
Conversation
👍 Which Kubernetes version has been used for your testing? |
Tested using Kubernetes version:1.8.3. |
Cc: @baoh0308 - version with |
@@ -738,10 +817,19 @@ int zbx_docker_dir_detect() | |||
{ | |||
if ((strstr(path, "cpuset cgroup")) != NULL) | |||
{ | |||
|
|||
#ifdef ZBX_VERSION_PRE_3_0_17 |
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.
Where and how do you define ZBX_VERSION_PRE_3_0_17?
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.
I defined the marco when building with gcc using -D. The built module supported version depends on the compile options.
I'm merging this one into the feature branch. TODO:
Tested:
I'll be happy to receive any (un)sucessfull reports for other orchestratation tools (maybe @baoh0308 will be able to test it as well). Anyway, thank you @miaofenk. |
Hi @jangaraj ,
I did a few code changes to make the cgroup parent branch supports containers under K8S environment. Would you please review my code changes and decide whether to take the pull request?
Thanks for your time!