mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
842d11f44c
Add the following options to "swarm init" and "swarm update": - --max-snapshots: Retain this many old Raft snapshots in addition to the latest one - --snapshot-interval: Number of log entries between Raft snapshots These options already existed in SwarmKit and the Docker API but were never exposed in the CLI. I'm adding them here to fix this oversight. --max-snapshots may be useful for debugging purposes and more conservative users who want to store rolling backups of old versions of the Raft state. --snapshot-interval is most useful for performance tuning. The default value of 10000 may not be ideal for some setups. There is also a LogEntriesForSlowFollowers option that is not exposed. I decided not to expose it along with these others because I don't think it's generally useful (and I'm not sure what I would call the CLI flag). But if people want, I can expose it for the sake of completeness. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> |
||
---|---|---|
.. | ||
apparmor | ||
builder | ||
completion | ||
desktop-integration | ||
docker-device-tool | ||
gitdm | ||
httpserver | ||
init | ||
mkimage | ||
nnp-test | ||
reprepro | ||
selinux/docker-engine-selinux | ||
selinux-fedora-24/docker-engine-selinux | ||
selinux-oraclelinux-7/docker-engine-selinux | ||
syntax | ||
syscall-test | ||
udev | ||
vagrant-docker | ||
check-config.sh | ||
dockerize-disk.sh | ||
download-frozen-image-v1.sh | ||
download-frozen-image-v2.sh | ||
editorconfig | ||
mac-install-bundle.sh | ||
mkimage-alpine.sh | ||
mkimage-arch-pacman.conf | ||
mkimage-arch.sh | ||
mkimage-archarm-pacman.conf | ||
mkimage-busybox.sh | ||
mkimage-crux.sh | ||
mkimage-debootstrap.sh | ||
mkimage-pld.sh | ||
mkimage-rinse.sh | ||
mkimage-yum.sh | ||
mkimage.sh | ||
nuke-graph-directory.sh | ||
project-stats.sh | ||
README.md | ||
report-issue.sh | ||
REVIEWERS |
The contrib
directory contains scripts, images, and other helpful things
which are not part of the core docker distribution. Please note that they
could be out of date, since they do not receive the same attention as the
rest of the repository.