File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,13 @@ The following parameters can be specified:
1515
1616* ** ` limit ` ** * (uint64, OPTIONAL)* - sets limit of memory usage in bytes.
1717
18- * ** ` reservation ` ** * (uint64, OPTIONAL)* - sets the guaranteed minimum amount of memory for a container in bytes.
19-
2018#### Example
2119
2220``` json
2321 "windows" : {
2422 "resources" : {
2523 "memory" : {
26- "limit" : 2097152 ,
27- "reservation" : 524288
24+ "limit" : 2097152
2825 }
2926 }
3027 }
Original file line number Diff line number Diff line change 1515 "limit" : {
1616 "id" : " https://opencontainers.org/schema/bundle/windows/resources/memory/limit" ,
1717 "$ref" : " defs.json#/definitions/uint64"
18- },
19- "reservation" : {
20- "id" : " https://opencontainers.org/schema/bundle/windows/resources/memory/reservation" ,
21- "$ref" : " defs.json#/definitions/uint64"
2218 }
2319 }
2420 },
Original file line number Diff line number Diff line change @@ -450,8 +450,6 @@ type WindowsResources struct {
450450type WindowsMemoryResources struct {
451451 // Memory limit in bytes.
452452 Limit * uint64 `json:"limit,omitempty"`
453- // Memory reservation in bytes.
454- Reservation * uint64 `json:"reservation,omitempty"`
455453}
456454
457455// WindowsCPUResources contains CPU resource management settings.
You can’t perform that action at this time.
0 commit comments