-
Notifications
You must be signed in to change notification settings - Fork 674
Reduce docker volumes for weavewait to just one set per release #1935
Conversation
- Create an auxilliary container 'weavevolumes' to hold the '/w/w' files, and map into that instead of creating new volumes every time. - Show "/bin/false" as its command in `docker ps` instead of "/home/weave/sigproxy". - Remove volumes when cleaning up smoketest containers.
before:
after
So this is an improvement, but not a fix. Looks like there is a volume leak in both the proxy and plugin, and this PR fixes the former but not the latter:
Possibly this is a separate issue. |
Based on the file sizes, these are the three flavours of weavewait. |
Are you sure you are running a new plugin? |
Do |
False alarm. The problem was c6d0149. |
Isn't there a problem here with upgrades? Since we only remove the volume on reset, won't a "soft" upgrade of I guess weavewait doesn't change all that often, and perhaps we should insist on a I am actually curious what the current behaviour is: if you have a container that was started via the proxy, then soft-upgrade weave, and then bounce the container, is the new incarnation a) broken (i.e. it references a weavewait entrypoint which no longer exists), b) using the old-version weavewait, or c) using the new-version weavewait? |
To your last question, b: it will have the same weavewait as when it was started. |
We could attach the weave version number to the |
Was thinking the same. But we then would want |
They will be named 'weavevolumes-v1.4.3', 'weavevolumes-latest', etc. Use a label to identify these containers so they can all be removed on `weave reset`.
Reduce docker volumes for weavewait to just one set per release Fixes #1757.
Fixes #1757
files, and map into that instead of creating new volumes every time.
docker ps
instead of"/home/weave/sigproxy".
Replaces #1792 to change target branch - some discussion on design there.