Add memory swap to swarm
Adds support for setting memory swap settings on Swarm services * Adds flags `memory-swap` and `memory-swappiness` to `docker service create` and `docker service update` commands. * Adds compose fields `memswap_limit` and `mem_swappiness` for `docker stack` commands. Signed-off-by: Drew Erny <derny@mirantis.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
d0c86d39ef
commit
71828f2792
@ -1,12 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "config_schema_v3.13.json",
|
||||
"id": "config_schema_v3.14.json",
|
||||
"type": "object",
|
||||
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "string",
|
||||
"default": "3.13"
|
||||
"default": "3.14"
|
||||
},
|
||||
|
||||
"services": {
|
||||
@ -413,6 +413,12 @@
|
||||
"generic_resources": {"$ref": "#/definitions/generic_resources"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"memswap_limit": {
|
||||
"type": "integer"
|
||||
},
|
||||
"mem_swappiness": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in New Issue
Block a user