Revert "Add memory swap to swarm"
This reverts commit 71828f2792.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@ -79,8 +79,6 @@ services:
|
||||
- discrete_resource_spec:
|
||||
kind: 'ssd'
|
||||
value: 1
|
||||
memswap_limit: 86000
|
||||
mem_swappiness: 27
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
|
||||
@ -108,8 +108,6 @@ func services(workingDir, homeDir string) []types.ServiceConfig {
|
||||
},
|
||||
},
|
||||
},
|
||||
MemswapLimit: int64Ptr(86000),
|
||||
MemSwappiness: int64Ptr(27),
|
||||
},
|
||||
RestartPolicy: &types.RestartPolicy{
|
||||
Condition: "on-failure",
|
||||
|
||||
@ -970,10 +970,6 @@ func uint32Ptr(value uint32) *uint32 {
|
||||
return &value
|
||||
}
|
||||
|
||||
func int64Ptr(value int64) *int64 {
|
||||
return &value
|
||||
}
|
||||
|
||||
func TestFullExample(t *testing.T) {
|
||||
skip.If(t, runtime.GOOS == "windows", "FIXME: substitutes platform-specific HOME-dirs and requires platform-specific golden files; see https://github.com/docker/cli/pull/4610")
|
||||
|
||||
|
||||
@ -181,9 +181,7 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"memswap_limit": 86000,
|
||||
"mem_swappiness": 27
|
||||
}
|
||||
},
|
||||
"restart_policy": {
|
||||
"condition": "on-failure",
|
||||
|
||||
@ -73,8 +73,6 @@ services:
|
||||
- discrete_resource_spec:
|
||||
kind: ssd
|
||||
value: 1
|
||||
memswap_limit: 86000
|
||||
mem_swappiness: 27
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
|
||||
Reference in New Issue
Block a user