Skip to content
Snippets Groups Projects
  1. Sep 09, 2022
  2. Aug 24, 2022
  3. Feb 26, 2022
  4. Feb 22, 2022
  5. Jan 05, 2022
  6. Oct 12, 2021
    • Max Gautier's avatar
      etcd: deploy container engine if needed (#7532) · e4c8c718
      Max Gautier authored
      If the etcd cluster is separate and the etcd_deployment_type is "host",
      there is no need for a container engine on the etcd nodes
      
      Do not rely on a 'default(true)' filter, but define a proper default in
      kubespray-defaults depending on etcd deployment method and if internal
      or external etcd is used
      Unverified
      e4c8c718
  7. May 26, 2021
  8. Apr 29, 2021
    • Cristian Calin's avatar
      Rename ansible groups to use _ instead of - (#7552) · 360aff4a
      Cristian Calin authored
      * rename ansible groups to use _ instead of -
      
      k8s-cluster -> k8s_cluster
      k8s-node -> k8s_node
      calico-rr -> calico_rr
      no-floating -> no_floating
      
      Note: kube-node,k8s-cluster groups in upgrade CI
            need clean-up after v2.16 is tagged
      
      * ensure old groups are mapped to the new ones
      Unverified
      360aff4a
  9. Apr 07, 2021
  10. Mar 24, 2021
  11. Mar 15, 2021
  12. Mar 09, 2021
  13. Feb 23, 2021
  14. Feb 16, 2021
  15. Jan 11, 2021
  16. Oct 21, 2020
    • Hans Feldt's avatar
      fix scaling in kubeadm etcd mode (#6822) · 3eefb5f2
      Hans Feldt authored
      'ansible.vars.hostvars.HostVarsVars object' has no attribute 'kubeadm_upload_cert'
      
      kubeadm_upload_cert will never be found as a hostvar for the first
      master since the task is executed for a worker.
      
      Fix by executing the upload task for the first master and register
      the needed key. After that, workers can read hostvars for the master
      
      Var kubeadm_etcd_refresh_cert_key removed since it no longer has
      any use.
      Unverified
      3eefb5f2
  17. Aug 20, 2020
  18. Jun 25, 2020
  19. Apr 24, 2020
    • Sergey's avatar
      add strategy mitogen_linear when installed mitogen (#5985) · 69603aed
      Sergey authored
      * add strategy mitogen_linear when installed mitogen
      
      * add small docs
      
      Rename playbook file
      
      The raw action executes as a regular Mitogen connection, which requires Python on the target, so add strategy: linear to bootstrap-os role playbook.
      
      * add mitogen to  CI test
      fix typo
      
      * enable mitogen test on deploy-part1 tests
      change version from master to release
      download tar.gz archive
      
      * run all CI tests with mitogen
      
      * disable mitogen with upgrade CI tests
      
      * enable mitogen on CI tests via env vars
      
      * disable mitogen on CI test by default, enable on some different OS
      
      * disable mitogen CI test on centos8
      (get error  /usr/bin/python: No such file or directory)
      Unverified
      69603aed
  20. Apr 23, 2020
  21. Apr 18, 2020
  22. Apr 08, 2020
  23. 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
      Unverified
      66408a87
  24. Jan 20, 2020
  25. Dec 09, 2019
  26. Sep 22, 2019
    • Sergey's avatar
      fix broken scale procedure: (#5193) · 8cb54cd7
      Sergey authored
      - do not run etcd role when etcd_kubeadm_enabled == true
      - remove default value 'systemd' for cgroup driver in containerd role.
        this value override autodetect in kubelet_cgroup_driver_detected from docker info
      8cb54cd7
  27. Jun 27, 2019
  28. May 03, 2019
  29. Apr 24, 2019
    • MarkusTeufelberger's avatar
      Define and implement specs for bootstrap-os (#4455) · 76db060a
      MarkusTeufelberger authored
      * Add README to bootstrap-os role
      
      * Rework bootstrap-os once more
      
      * Document workarounds for bugs/deficiencies in Ansible modules
      * Unify and document role variables
      * Remove installation of additional packages and repositories
      * Merge Ubuntu and Debian tasks
      * Remove pipelining setting from default playbooks
      * Fix OpenSUSE not running its required tasks
      76db060a
  30. Apr 17, 2019
  31. Apr 09, 2019
  32. Apr 01, 2019
    • MarkusTeufelberger's avatar
      Yamllint fixes (#4410) · 9ffc65f8
      MarkusTeufelberger authored
      * Lint everything in the repository with yamllint
      
      * yamllint fixes: syntax fixes only
      
      * yamllint fixes: move comments to play names
      
      * yamllint fixes: indent comments in .gitlab-ci.yml file
      9ffc65f8
  33. Feb 26, 2019
  34. Jan 03, 2019
    • Chad Swenson's avatar
      Fix kube-proxy configuration for kubeadm (#3958) · 80379f6c
      Chad Swenson authored
      - Creates and defaults an ansible variable for every configuration option in the `kubeproxy.config.k8s.io/v1alpha1` type spec
        - Fixes vars that were orphaned by removing non-kubeadm
        - Fixes previously harcoded kubeadm values
      - Introduces a `main` directory for role default files per component (requires ansible 2.6.0+)
        - Split out just `kube-proxy.yml` in this first effort
      - Removes the kube-proxy server field patch task
      
      We should continue to pull out other components from `main.yml` into their own defaults files as I did here for `defaults/main/kube-proxy.yml`. I hope for and will need others to join me in this refactoring across the project until each component config template has a matching role defaults file, with shared defaults in `kubespray-defaults` or `downloads`
      80379f6c
  35. Dec 06, 2018
    • Andreas Krüger's avatar
      Remove non-kubeadm deployment (#3811) · ddffdb63
      Andreas Krüger authored
      * Remove non-kubeadm deployment
      
      * More cleanup
      
      * More cleanup
      
      * More cleanup
      
      * More cleanup
      
      * Fix gitlab
      
      * Try stop gce first before absent to make the delete process work
      
      * More cleanup
      
      * Fix bug with checking if kubeadm has already run
      
      * Fix bug with checking if kubeadm has already run
      
      * More fixes
      
      * Fix test
      
      * fix
      
      * Fix gitlab checkout untill kubespray 2.8 is on quay
      
      * Fixed
      
      * Add upgrade path from non-kubeadm to kubeadm. Revert ssl path
      
      * Readd secret checking
      
      * Do gitlab checks from v2.7.0 test upgrade path to 2.8.0
      
      * fix typo
      
      * Fix CI jobs to kubeadm again. Fix broken hyperkube path
      
      * Fix gitlab
      
      * Fix rotate tokens
      
      * More fixes
      
      * More fixes
      
      * Fix tokens
      ddffdb63
  36. Nov 26, 2018
  37. Nov 14, 2018
  38. Nov 10, 2018
Loading