Skip to content
Snippets Groups Projects
  1. Nov 15, 2024
    • Max Gautier's avatar
      Stricter kubeadm validation (config and runtime checks) (#11710) · 68718dcb
      Max Gautier authored
      * kubeadm: do not ignore preflight errors blindly
      
      The "ignoring all errors" seems to date back to the inception of the
      kubeadm support (it was --skip-preflight-check before).
      
      This can mask real errors and prevent users from seeing them.
      
      Do not ignore any errors by default and make the set of ignored errors
      configurable.
      
      * download/kubeadm: remove redundant task
      
      The mode is already set by the previous `copy` task.
      
      * Validate kubeadm configs
      
      This should help to fail early when we have invalid kubeadm configs (from
      a kubespray bug or a misconfiguration).
      
      * kubeadm-upgrade: remove unnecessary bool cast
      
      * Convert kubeadm join discovery timeout to v1beta4 config
      
      * CI: Ignore kubeadm:Mem errors on some setup.
      68718dcb
  2. Nov 14, 2024
  3. Nov 13, 2024
  4. Nov 07, 2024
  5. Nov 05, 2024
  6. Nov 04, 2024
  7. Oct 21, 2024
  8. Oct 04, 2024
    • Max Gautier's avatar
      Assert correct limit usage · b0fb0605
      Max Gautier authored
      This should prevent confusing errors with undefined variables
      b0fb0605
    • Max Gautier's avatar
      Remove serialized collect of ansible_default_ipv4 · 2826b357
      Max Gautier authored
      The fallback_ips tasks are essentially serializing the gathering of one
      fact on all the hosts, which can have dramatic performance implications
      on large clusters (several minutes).
      
      This is essentially a reversal of 35f248df
      Being able to run without refreshing the cache facts is not worth it.
      
      We keep fallback_ip for now, simply changing the access to a normal
      hostvars variable instead of a custom dictionnary.
      2826b357
  9. Sep 24, 2024
  10. Sep 23, 2024
  11. Sep 21, 2024
    • Max Gautier's avatar
      Test group membership with group_names · 2ec1c938
      Max Gautier authored
      Testing for group membership with group names makes Kubespray more
      tolerant towards the structure of the inventory.
      Where 'inventory_hostname in groups["some_group"] would fail if
      "some_group" is not defined, '"some_group" in group_names' would not.
      2ec1c938
  12. Sep 18, 2024
  13. Sep 12, 2024
  14. Sep 10, 2024
    • Max Gautier's avatar
      kubeadm: allow to provide patch inline in inventories · 8e254ec1
      Max Gautier authored
      Specifying one directory for kubeadm patches is not ideal:
      1. It does not allow working with multiples inventories easily
      2. No ansible templating of the patch
      3. Ansible path searching can sometimes be confusing
      
      Instead, provide the patch directly in a variable, and add some quality
      of life to handle components targeting and patch ordering more
      explicitly (`target` and `type` which are translated to the kubeadm
      scheme which is based on the file name)
      8e254ec1
    • Max Gautier's avatar
      Deduplicate kubeadm_patches tasks · a8b66fd2
      Max Gautier authored
      kubernetes/control-plane and kubernetes/kubeadm roles both push kubeadm
      patches in the same way.
      Extract that code and make it a dependency of both.
      This is safe because it's only configuration for kubeadm, which only
      takes effect when kubeadm is run.
      a8b66fd2
  15. Sep 09, 2024
  16. Sep 06, 2024
  17. Sep 05, 2024
    • Max Gautier's avatar
      Drop support for RHEL 7 / CentOS 7 (#11246) · 7f527f61
      Max Gautier authored
      * Simplify docker systemd unit
      
      systemd handles missing unit by ignoring the dependency so we don't need
      to template them.
      
      * Remove RHEL 7/CentOS 7 support
      
      - remove ref in kubespray roles
      - move CI from centos 7 to 8
      - remove docs related to centos7
      
      * Remove container-storage-setup
      
      Only used for RHEL 7 and CentOS 7
      7f527f61
  18. Aug 29, 2024
  19. Aug 28, 2024
  20. Aug 26, 2024
  21. Aug 14, 2024
Loading