-
- Downloads
Enable delegating all downloads (binaries, images, kubeadm images) (#4420)
* Download to delegate and sync files when download_run_once * Fail on error after saving container image * Do not set changed status when downloaded container was up to date * Only sync containers when they are actually required Previously, non-required images (pull_required=false as image existed on target host) were synced to the target hosts. This failed as the image was not downloaded to the download_delegate and hence was not available for syncing. * Sync containers when only missing on some hosts * Consider images with multiple repo tags * Enable kubeadm images pull/syncing with download_delegate * Use kubeadm images list to pull/sync 'kubeadm config images pull' is replaced by collecting the images list with 'kubeadm config images list' and using the commonly used method of pull/syncing the images. * Ensure containers are downloaded and synced for all hosts * Fix download/syncing when download_delegate is a kubernetes host
Showing
- docs/downloads.md 5 additions, 5 deletionsdocs/downloads.md
- roles/download/defaults/main.yml 2 additions, 2 deletionsroles/download/defaults/main.yml
- roles/download/tasks/download_container.yml 3 additions, 4 deletionsroles/download/tasks/download_container.yml
- roles/download/tasks/download_file.yml 28 additions, 1 deletionroles/download/tasks/download_file.yml
- roles/download/tasks/kubeadm_images.yml 49 additions, 1 deletionroles/download/tasks/kubeadm_images.yml
- roles/download/tasks/main.yml 16 additions, 11 deletionsroles/download/tasks/main.yml
- roles/download/tasks/set_docker_image_facts.yml 10 additions, 1 deletionroles/download/tasks/set_docker_image_facts.yml
- roles/download/tasks/sync_container.yml 6 additions, 9 deletionsroles/download/tasks/sync_container.yml
- roles/download/tasks/sync_file.yml 53 additions, 0 deletionsroles/download/tasks/sync_file.yml
- roles/kubernetes/master/tasks/main.yml 1 addition, 1 deletionroles/kubernetes/master/tasks/main.yml
- roles/kubernetes/node/tasks/install.yml 3 additions, 3 deletionsroles/kubernetes/node/tasks/install.yml
Loading
Please register or sign in to comment