Skip to content
Snippets Groups Projects
  1. Mar 22, 2022
  2. Feb 26, 2022
  3. Feb 22, 2022
  4. Feb 17, 2022
  5. 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
  6. 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
  7. Mar 24, 2021
  8. Mar 05, 2021
  9. Feb 23, 2021
  10. Feb 01, 2021
  11. Jan 11, 2021
  12. Sep 24, 2020
  13. Jun 25, 2020
  14. 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
  15. Apr 23, 2020
  16. Apr 18, 2020
  17. Apr 08, 2020
  18. Mar 13, 2020
  19. Mar 11, 2020
  20. 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
  21. Feb 27, 2020
    • Lovro Seder's avatar
      Upgrade container-engine after draining (#5601) · 7f87ce03
      Lovro Seder authored
      * Run 'container-engine' after drain.
      
      Move possibly disruptive role 'container-engine' to run after the node
      is drained.
      
      As that role have to be run on non-cluster nodes as well (etcd and
      calico-rr), and those nodes are not drained, add play for that case.
      
      * Check if api is up before upgrade.
      
      If container engine is restarted in previous role, api controller can
      take some time to start. This check ensures api is up before upgrade.
      Unverified
      7f87ce03
  22. Jan 20, 2020
  23. Dec 09, 2019
  24. Jun 27, 2019
  25. Jun 20, 2019
    • Matthew Mosesohn's avatar
      Enable kubeadm etcd mode (#4818) · 4348e78b
      Matthew Mosesohn authored
      * Enable kubeadm etcd mode
      
      Uses cert commands from kubeadm experimental control plane to
      enable non-master nodes to obtain etcd certs.
      
      Related story: PROD-29434
      
      Change-Id: Idafa1d223e5c6ceadf819b6f9c06adf4c4f74178
      
      * Add validation checks and exclude calico kdd mode
      
      Change-Id: Ic234f5e71261d33191376e70d438f9f6d35f358c
      
      * Move etcd mode test to ubuntu flannel HA job
      
      Change-Id: I9af6fd80a1bbb1692ab10d6da095eb368f6bc732
      
      * rename etcd_mode to etcd_kubeadm_enabled
      
      Change-Id: Ib196d6c8a52f48cae370b026f7687ff9ca69c172
      4348e78b
  26. May 03, 2019
  27. Apr 29, 2019
    • Matthew Mosesohn's avatar
      Run dns_late preinstall tasks on all k8s nodes (#4672) · a5b46bfc
      Matthew Mosesohn authored
      * Run dns_late preinstall tasks on all k8s nodes
      
      Related issue: #4656
      
      Change-Id: I63f8559ef1a497b7580ab084561e6603fe647834
      
      * Fix ansible-lint
      
      Change-Id: Ia5b33fa63dbc36d8c3e9557ef3f2ea02af2325a5
      
      * Fix recover_control_plane lint issues
      
      Change-Id: I16643a3193c11b6ba704e9698812cac7e4fd19a8
      a5b46bfc
  28. Apr 17, 2019
  29. Apr 09, 2019
  30. Apr 01, 2019
    • Matthew Mosesohn's avatar
      Remove kubedns and dnsmasq. Move dns_late phase after apps (#4406) · 5f12b7ae
      Matthew Mosesohn authored
      Both kubedns and dnsmasq modes are long not maintained.
      We should run dns_late steps at the end because sshd
      makes DNS lookups during Ansible run and has 2s timeouts
      for each failed lookup trying to connect to coredns before
      it is ready.
      5f12b7ae
    • 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
  31. Feb 26, 2019
  32. 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
  33. Dec 25, 2018
  34. Dec 13, 2018
  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 10, 2018
Loading