Adding support for memory swap settings for services#37872
Adding support for memory swap settings for services#37872wk8 wants to merge 2 commits intomoby:masterfrom
Conversation
|
Let's be careful about how we expose these settings. |
24dcec3 to
79035b9
Compare
|
Please sign your commits following these rules: $ git clone -b "wk8/memory_flags_for_swarm" [email protected]:wk8/moby.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354426360
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -fAmending updates the existing PR. You DO NOT need to open a new one. |
79035b9 to
6e825ea
Compare
478cc07 to
1a29d63
Compare
bf27614 to
d7c123b
Compare
b03fc60 to
a3ecf6e
Compare
a3ecf6e to
7d740c0
Compare
7d740c0 to
7a1f141
Compare
7a1f141 to
1aa7385
Compare
1aa7385 to
2a6f9ea
Compare
2a6f9ea to
2cb44ac
Compare
2cb44ac to
4a05d9b
Compare
integration/service/create_test.go
Outdated
There was a problem hiding this comment.
@anshulpundir that's the failing test. No timing issue at all :( it's set to -1 when failing...
4a05d9b to
f744db0
Compare
|
@thaJeztah & @cpuguy83 : before I do the changes outlined in #37872 (comment), could you please validate that https://github.com/docker/swarmkit/pull/2865/files#diff-2825f8c43cd6822a89834c265124fe46 looks good to you, and that this shape for the Limits/Resources structs should be the final one, and won't need to be changed another time? Thanks. |
25a29c4 to
ee3144f
Compare
b709d06 to
05eb1d6
Compare
Signed-off-by: Jean Rouge <[email protected]>
05eb1d6 to
02e3d3c
Compare
|
Is this ready to merge? |
|
Any update on this one? |
|
Hi, is this still being worked on? |
|
Any progress here? |
|
Hi, just wondering if this PR is still in progress as it would be useful to be able to deactivate swapping in swarm mode ? |
|
Any update? |
|
Still not possible to deactivate swap ? |
|
Any update? |
|
Anybody still out here....? |
|
Is anything happening with this? |
|
Has there been any further traction on this? |
|
Has there been any further traction on this till now?? |
- What I did
Adds support for memory swap options in services. That includes the API
plumbing, reflected in the API's doc. Added unit tests on the new feature.
- How I did it
Adds 2 new fields to service container specs, equivalent to
docker run's--memory-swapand--memory-swappiness.- How to verify it
Includes integration tests.
- Related issues
#34654
- Description for the changelog
Adds support for memory swap options in services.