-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Setting cgroup resources #372
Conversation
Usage: "set cgroup resources", | ||
Flags: []cli.Flag{ | ||
cli.StringFlag{ | ||
Name: "config-file, c", |
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.
This shouldn't require the path to config.json then. We probably want the bundlePath from the other PR.
Signed-off-by: rajasec <rajasec79@gmail.com> Adding bundle path Signed-off-by: Rajasekaran <rajasec79@gmail.com> Updating README file Signed-off-by: rajasec <rajasec79@gmail.com>
@mrunalp |
@rajasec Actually Maybe we should start discussing https://github.com/opencontainers/specs/blob/master/ROADMAP.md#live-container-updates , have a conclusion about what can be updated, and we only take care of these fields from config. |
I think we should revisit this later once we have a plan in the spec. Closing for now. |
Fix the build by getting rid of go get for vet
Using the container interface set to set the cgroup resources when container is running
Usage:
runc set
This will apply the new values to running container as per the runtime.json
Signed-off-by: rajasec rajasec79@gmail.com