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

add nerdctl run cpuset-mems,cpu-quota,cpu-period support #689

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

ningmingxiao
Copy link
Contributor

@ningmingxiao ningmingxiao commented Jan 10, 2022

Signed-off-by: ningmingxiao ning.mingxiao@zte.com.cn

@ningmingxiao ningmingxiao changed the title add cpuset-cpus cpuset-mems,cpu-quota,cpu-period add nerdctl run cpuset-cpus cpuset-mems,cpu-quota,cpu-period support Jan 10, 2022
@ningmingxiao ningmingxiao changed the title add nerdctl run cpuset-cpus cpuset-mems,cpu-quota,cpu-period support add nerdctl run cpuset-mems,cpu-quota,cpu-period support Jan 10, 2022
@fahedouch
Copy link
Member

fahedouch commented Jan 10, 2022

Cpus and quota/period should be used seperatly. Would you plz add this condition. Plz check ctr https://github.com/containerd/containerd/blob/269548fa27e0089a8b8278fc4fc781d7f65a939b/cmd/ctr/commands/run/run_unix.go#L197

cmd/nerdctl/run.go Outdated Show resolved Hide resolved
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Please update the Command Reference in README.md, add tests to run_cgroup_linux_test.go, and squash the commits

@ningmingxiao
Copy link
Contributor Author

Please update the Command Reference in README.md, add tests to run_cgroup_linux_test.go, and squash the commits

done,thankyou

@AkihiroSuda AkihiroSuda added this to the v0.16.0 milestone Jan 11, 2022
README.md Outdated Show resolved Hide resolved
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM if green, thanks

@AkihiroSuda AkihiroSuda merged commit 4f91839 into containerd:master Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants