Skip to content
Snippets Groups Projects
  1. Feb 06, 2024
  2. Feb 05, 2024
  3. Jan 04, 2024
  4. Sep 21, 2023
  5. Aug 10, 2023
  6. Jul 26, 2023
  7. Jul 05, 2023
  8. Jun 26, 2023
  9. Jun 01, 2023
  10. Mar 23, 2023
  11. Mar 21, 2023
  12. Aug 17, 2022
  13. Jun 15, 2022
  14. Jun 09, 2022
  15. Feb 15, 2022
  16. Jul 12, 2021
    • Cristian Calin's avatar
      Move to Ansible 3.4.0 (#7672) · 7516fe14
      Cristian Calin authored
      * Ansible: move to Ansible 3.4.0 which uses ansible-base 2.10.10
      
      * Docs: add a note about ansible upgrade post 2.9.x
      
      * CI: ensure ansible is removed before ansible 3.x is installed to avoid pip failures
      
      * Ansible: use newer ansible-lint
      
      * Fix ansible-lint 5.0.11 found issues
      
      * syntax issues
      * risky-file-permissions
      * var-naming
      * role-name
      * molecule tests
      
      * Mitogen: use 0.3.0rc1 which adds support for ansible 2.10+
      
      * Pin ansible-base to 2.10.11 to get package fix on RHEL8
      7516fe14
  17. Jan 11, 2021
  18. Jun 25, 2020
  19. Mar 05, 2020
    • Kubernetes Prow Robot's avatar
      Refactor download role (#5697) · 66408a87
      Kubernetes Prow Robot authored
      * 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
      66408a87
  20. Feb 18, 2020
  21. Dec 05, 2019
  22. Oct 02, 2019
    • Matthew Mosesohn's avatar
      Switch to Kubernetes v1.16.0 (#5189) · a43e0d3f
      Matthew Mosesohn authored
      * Switch to Kubernetes v1.16.0
      
      Change-Id: I5d6a9528b2d443750fc5e031aff15ad3ffead158
      
      * Fix download localhost cached file path
      
      Change-Id: I65e79b70e3d1b37265ebc60f41b460cf4b0a0d47
      
      * fix kubeadm etcd for v1.16
      
      Change-Id: I6888a00fd48b530a38b0b31c4095492476af42d2
      
      * disable tf packet jobs
      
      Change-Id: I075c4666547fdea4c50ec04864f38e2cfaa79154
      
      * Disable contiv packet jobs. Fix kube-router
      
      Change-Id: I3170e8789e60711d4cee8faf65f2094480b79b8d
      
      * bump sonobuoy version
      
      Change-Id: Ib946905629c7c53ed88f08fb2f41c454457a0097
      a43e0d3f
  23. Sep 26, 2019
  24. Aug 22, 2019
  25. Jun 10, 2019
    • Johnny Halfmoon's avatar
      Added file and container image caching (#4828) · 23c9071c
      Johnny Halfmoon authored
      * File and container image downloads are now cached localy, so that repeated vagrant up/down runs do not trigger downloading of those files. This is especially useful on laptops with kubernetes runnig locally on vm's. The total size of the cache, after an ansible run, is currently around 800MB, so bandwidth (=time) savings can be quite significant.
      
      * When download_run_once is false, the default is still not to cache, but setting download_force_cache will still enable caching.
      
      * The local cache location can be set with download_cache_dir and defaults to /tmp/kubernetes_cache
      
      * A local docker instance is no longer required to cache docker images; Images are cached to file. A local docker instance is still required, though, if you wish to download images on localhost.
      
      * Fixed a FIXME, wher the argument was that delegate_to doesn't play nice with omit. That is a correct observation and the fix is to use default(inventory_host) instead of default(omit). See ansible/ansible#26009
      
      * Removed "Register docker images info" task from download_container and set_docker_image_facts because it was faulty and unused.
      
      * Removed redundant when:download.{container,enabled,run_once} conditions from {sync,download}_container.yml
      
      * All features of commit d6fd0d2a by Timoses <timosesu@gmail.com>, merged May 1st 2019, are included in this patch. Not all code was included verbatim, but each feature of that commit was checked to be working in this patch. One notable change: The actual downloading of the kubeadm images was moved to {download,sync)_container, to enable caching.
      
      Note 1: I considered splitting this patch, but most changes that are not directly related to caching, are a pleasant by-product of implementing the caching code, so splitting would be impractical.
      
      Note 2: I have my doubts about the usefulness of the upload, download and upgrade tags in the download role. Must they remain or can they be removed? If anybody knows, then please speak up.
      23c9071c
  26. May 03, 2019
  27. May 01, 2019
    • Timoses's avatar
      Enable delegating all downloads (binaries, images, kubeadm images) (#4420) · d6fd0d2a
      Timoses authored
      * 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
      d6fd0d2a
  28. Jan 09, 2019
  29. Oct 20, 2018
  30. Sep 21, 2018
  31. Mar 31, 2018
  32. Oct 30, 2017
  33. Oct 25, 2017
    • Matthew Mosesohn's avatar
      Fix broken CI jobs (#1854) · a52bc44f
      Matthew Mosesohn authored
      * Fix broken CI jobs
      
      Adjust image and image_family scenarios for debian.
      Checkout CI file for upgrades
      
      * add debugging to file download
      
      * Fix download for alternate playbooks
      
      * Update ansible ssh args to force ssh user
      
      * Update sync_container.yml
      a52bc44f
  34. Oct 19, 2017
Loading