c12s-kubespray/roles/kubernetes/preinstall/tasks
Kubernetes Prow Robot 66408a87ee
Refactor download role (#5697)
* download file

* download containers

* fix push image to nodes

* pull if none image on host

* fix

* improve docker image tag checks.
do not pull already cached images

* rebase fix merge conflict

* add support download_run_once when upgrade and scale cluster
add some test with download_run_once

* set default values to temp flag for every download cycle

* add save,load abilty for containerd and crio when download_run_once=true

* return redefine image save/load command to  set_docker_image_facts.yml

* move set command to set_container_facts

* ctr in containerd_bin_dir

* fix order of ctr image export arguments

* temporary disable download_run_once for containerd and crio
due https://github.com/containerd/containerd/issues/4075

* remove unused files

* fix strict yaml linter warning and errors

* refactor logical conditions to pull and cache container images

* remove comment due lint check

* document role

* remove image_load_on_localhost, because cached images are always loaded to docker on remote sites

* remove XXX from debug output
2020-03-05 07:31:39 -08:00
..
0010-swapoff.yml ansible-lint: don't compare to empty string [E602] (#4665) 2019-04-28 23:00:20 -07:00
0020-verify-settings.yml Refactor download role (#5697) 2020-03-05 07:31:39 -08:00
0030-pre_upgrade.yml Update dir list 2018-08-31 13:45:08 +02:00
0040-set_facts.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00
0050-create_directories.yml add Kube-OVN cni to kubespray (#5020) 2019-07-30 20:10:20 -07:00
0060-resolvconf.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00
0061-systemd-resolved.yml Enable systemd-resolved DNS resolution mode (#5318) 2019-11-06 03:33:52 -08:00
0070-system-packages.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00
0080-system-configurations.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00
0090-etchosts.yml Fix order of names in /etc/hosts (#4940) 2019-07-08 06:08:34 -07:00
0100-dhclient-hooks.yml Remove unnecessary and risky reload network for resolvconf propagation (#5322) 2019-11-06 10:11:52 -08:00
0110-dhclient-hooks-undo.yml Remove unnecessary and risky reload network for resolvconf propagation (#5322) 2019-11-06 10:11:52 -08:00
0120-growpart-azure-centos-7.yml ansible-lint: E403 Package installs should not use latest (#4500) 2019-04-18 01:34:08 -07:00
main.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00