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 6d4b527699 Service update failure thresholds and rollback
This adds support for two enhancements to swarm service rolling updates:

- Failure thresholds: In Docker 1.12, a service update could be set up
  to either pause or continue after a single failure occurs. This adds
  an --update-max-failure-ratio flag that controls how many tasks need to
  fail to update for the update as a whole to be considered a failure. A
  counterpart flag, --update-monitor, controls how long to monitor each
  task for a failure after starting it during the update.

- Rollback flag: service update --rollback reverts the service to its
  previous version. If a service update encounters task failures, or
  fails to function properly for some other reason, the user can roll back
  the update.

SwarmKit also has the ability to roll back updates automatically after
hitting the failure thresholds, but we've decided not to expose this in
the Docker API/CLI for now, favoring a workflow where the decision to
roll back is always made by an admin. Depending on user feedback, we may
add a "rollback" option to --update-failure-action in the future.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-10-18 10:09:50 -07:00
..
apparmor apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
builder Merge pull request #27421 from jcberthon/master 2016-10-17 19:20:09 +02:00
completion Service update failure thresholds and rollback 2016-10-18 10:09:50 -07:00
desktop-integration
docker-device-tool Add docs about how to extend devicemapper thin pool 2016-04-20 10:49:51 +08:00
gitdm Add gitdm configuration 2016-05-28 21:08:20 -07:00
httpserver
init Change TMPDIR to DOCKER_TMPDIR 2016-08-23 08:45:46 +05:30
mkimage Update contrib/mkimage/debootstrap to account for Debian LTS changes 2016-05-04 08:39:45 -07:00
nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
reprepro add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
selinux/docker-engine-selinux Add selinux policy per distro 2016-08-04 14:29:22 -07:00
selinux-fedora-24/docker-engine-selinux Add selinux policy per distro 2016-08-04 14:29:22 -07:00
selinux-oraclelinux-7/docker-engine-selinux Add Oracle Linux distro specific selinux policy 2016-08-10 13:33:56 -07:00
syntax Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
syscall-test Add a test that the default seccomp profile allows execution of 32 bit binaries 2016-07-27 18:42:34 +01:00
udev
vagrant-docker Remove LXC support. 2015-11-05 17:09:57 -05:00
check-config.sh Update required modules for overlay dataplane encryption 2016-10-11 14:06:55 -07:00
dockerize-disk.sh Fix dockerize-disk.sh working in non-en locale 2015-07-02 16:08:12 -07:00
download-frozen-image-v1.sh update download-frozen-image.sh to v2 registry 2015-12-01 13:16:42 -08:00
download-frozen-image-v2.sh request a new token before downloading each layer 2016-02-14 16:56:07 +08: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 Additional repo and container cleanup 2015-12-28 14:11:56 +01:00
mkimage-arch-pacman.conf
mkimage-arch.sh Changed to 1800 second timeout for all ARMV* 2016-07-10 18:47:14 -07:00
mkimage-archarm-pacman.conf Fixed arm arch image maker to support arm versions other than 7 2016-07-10 18:46:35 -07:00
mkimage-busybox.sh
mkimage-crux.sh
mkimage-debootstrap.sh
mkimage-pld.sh add script to make base image for PLD Linux 2016-05-31 09:20:51 +03:00
mkimage-rinse.sh Moving man pages out of docs 2015-06-10 13:43:35 -07:00
mkimage-yum.sh Add errexit to mkimage-yum.sh 2016-09-14 12:04:04 +02:00
mkimage.sh Updated usage information because of removed short parameters. 2015-07-16 10:44:58 +02:00
nuke-graph-directory.sh nuke-graph-directory.sh: Improve subvolume search 2016-08-08 13:00:21 -04:00
project-stats.sh Link to HTTPS urls in contrib comments/maintainers 2015-04-11 13:35:08 -04:00
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
report-issue.sh add execute bit to contrib/report-issue.sh 2016-02-16 12:55:15 +02:00
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.