This website requires JavaScript.
Explore
Help
Register
Sign In
kubernetes-sigs
/
kubespray
mirror of
https://github.com/kubernetes-sigs/kubespray.git
Watch
1
Star
0
Fork
You've already forked kubespray
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fc0d58ff48
kubespray
/
roles
/
container-engine
/
docker
/
templates
/
docker-orphan-cleanup.conf.j2
2 lines
64 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Handling docker clean up during docker upgrade and docker config changes. (#3321) * Added changes to clean up orphan containers and reload docker & kubelet directories. * Added new files for cleaning up orphans and docker & kubelet directories * Added new lines at the end of these files * removed the trailing whitespaces from main.yml and clean-up.yml * Updated as per the review comments * Updated as per the review comments * Removed service_facts and package_facts because they are not supported in ansible 2.4.0 * Corrected yaml syntax errors * Removed the use of json_query filter and utilized selectattr * Removed trailing spaces * Changed the default value of docker_clean_up to false * Added Changes to only include cleanup-docker-orphans.sh * Reverted back changes done inside handler. * Removed trailing spaces and made default value of docker_orphan_clean_up as true * Reverted the default value of docker_orphan_clean_up as false * Made the docker clean up as drop in * Made the docker clean up as drop in * Reverted the value of boolean docker_orphan_clean_up to false
2018-10-13 01:29:51 +08:00
[Service]
Added some minor changes to the docker orphan clean up process. (#3657) * Added changes to clean up orphan containers and reload docker & kubelet directories. * Added new files for cleaning up orphans and docker & kubelet directories * Added new lines at the end of these files * removed the trailing whitespaces from main.yml and clean-up.yml * Updated as per the review comments * Updated as per the review comments * Removed service_facts and package_facts because they are not supported in ansible 2.4.0 * Corrected yaml syntax errors * Removed the use of json_query filter and utilized selectattr * Removed trailing spaces * Changed the default value of docker_clean_up to false * Added Changes to only include cleanup-docker-orphans.sh * Reverted back changes done inside handler. * Removed trailing spaces and made default value of docker_orphan_clean_up as true * Reverted the default value of docker_orphan_clean_up as false * Made the docker clean up as drop in * Made the docker clean up as drop in * Reverted the value of boolean docker_orphan_clean_up to false * Converted ExecStop to ExecSTartPost. Removed the live restore check from the orphan script
2018-11-07 08:50:19 +08:00
ExecStartPost=-{{ bin_dir }}/cleanup-docker-orphans.sh