-
- Downloads
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
Showing
- .gitlab-ci/packet.yml 17 additions, 0 deletions.gitlab-ci/packet.yml
- docs/downloads.md 4 additions, 2 deletionsdocs/downloads.md
- roles/download/defaults/main.yml 7 additions, 1 deletionroles/download/defaults/main.yml
- roles/download/tasks/check_pull_required.yml 1 addition, 3 deletionsroles/download/tasks/check_pull_required.yml
- roles/download/tasks/download_container.yml 55 additions, 72 deletionsroles/download/tasks/download_container.yml
- roles/download/tasks/download_file.yml 39 additions, 56 deletionsroles/download/tasks/download_file.yml
- roles/download/tasks/main.yml 0 additions, 14 deletionsroles/download/tasks/main.yml
- roles/download/tasks/prep_download.yml 43 additions, 35 deletionsroles/download/tasks/prep_download.yml
- roles/download/tasks/prep_kubeadm_images.yml 0 additions, 10 deletionsroles/download/tasks/prep_kubeadm_images.yml
- roles/download/tasks/set_container_facts.yml 11 additions, 0 deletionsroles/download/tasks/set_container_facts.yml
- roles/download/tasks/set_docker_image_facts.yml 0 additions, 54 deletionsroles/download/tasks/set_docker_image_facts.yml
- roles/download/tasks/sync_container.yml 0 additions, 37 deletionsroles/download/tasks/sync_container.yml
- roles/download/tasks/sync_file.yml 0 additions, 45 deletionsroles/download/tasks/sync_file.yml
- roles/kubernetes/preinstall/tasks/0020-verify-settings.yml 18 additions, 0 deletionsroles/kubernetes/preinstall/tasks/0020-verify-settings.yml
- roles/kubespray-defaults/defaults/main.yaml 3 additions, 0 deletionsroles/kubespray-defaults/defaults/main.yaml
- scale.yml 8 additions, 0 deletionsscale.yml
- tests/files/packet_centos7-calico-ha-once-localhost.yml 14 additions, 0 deletionstests/files/packet_centos7-calico-ha-once-localhost.yml
- tests/files/packet_centos7-calico-ha.yml 1 addition, 1 deletiontests/files/packet_centos7-calico-ha.yml
- tests/files/packet_debian9-calico-upgrade-once.yml 10 additions, 0 deletionstests/files/packet_debian9-calico-upgrade-once.yml
- tests/files/packet_ubuntu18-flannel-containerd-once.yml 29 additions, 0 deletionstests/files/packet_ubuntu18-flannel-containerd-once.yml
Loading
Please register or sign in to comment