-
Notifications
You must be signed in to change notification settings - Fork 2.3k
runc update --resource missing pids-limit and l3-cache-schema #1793
Copy link
Copy link
Open
Description
While runc update supports --pids-limit and --l3-cache-schema options, the --resources argument seems to miss them.
USAGE:
runc update [command options] <container-id>
OPTIONS:
--resources value, -r value path to the file containing the resources to update or '-' to read from the standard input
The accepted format is as follow (unchanged values can be omitted):
{
"memory": {
"limit": 0,
"reservation": 0,
"swap": 0,
"kernel": 0,
"kernelTCP": 0
},
"cpu": {
"shares": 0,
"quota": 0,
"period": 0,
"realtimeRuntime": 0,
"realtimePeriod": 0,
"cpus": "",
"mems": ""
},
"blockIO": {
"weight": 0
}
}
Note: if data is to be read from a file or the standard input, all
other options are ignored.
Although runc update -r does try to retrieve and set the pids limit, it is not shown in the example resource file contents. And currently l3-cache-schema cannot be set this way, which might be ok since it is not part of specs.LinuxResources.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels