1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib
Aaron Lehmann 842d11f44c cli: Add options for Raft snapshotting
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>
2016-11-08 13:14:01 -08:00
..
apparmor
builder Add Ubuntu 16.10 Yakkety Yak 2016-11-07 15:14:36 +01:00
completion cli: Add options for Raft snapshotting 2016-11-08 13:14:01 -08:00
desktop-integration
docker-device-tool Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
gitdm
httpserver Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
init
mkimage Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
nnp-test
reprepro
selinux/docker-engine-selinux
selinux-fedora-24/docker-engine-selinux
selinux-oraclelinux-7/docker-engine-selinux
syntax Remove unmaintained Dockerfile syntax for Kate 2016-10-25 15:42:27 -07:00
syscall-test Use runc version built without ambient capabilities 2016-11-04 17:25:28 +00:00
udev
vagrant-docker
check-config.sh Make the check-config script return success or failure 2016-11-02 23:23:52 +00:00
dockerize-disk.sh
download-frozen-image-v1.sh
download-frozen-image-v2.sh
editorconfig added editorconfig 2016-10-20 22:18:16 -02:00
mac-install-bundle.sh Add a script to install a bundle into Docker for Mac 2016-10-05 13:21:18 +02:00
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 Add errexit to mkimage-yum.sh 2016-09-14 12:04:04 +02:00
mkimage.sh Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
nuke-graph-directory.sh Nuke when graphdir is a mount 2016-11-01 22:22:25 -02:00
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.