kubespray/roles/kubernetes/control-plane/tasks
Max Gautier 68718dcb6f
Stricter kubeadm validation (config and runtime checks) (#11710)
* 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.
2024-11-15 06:34:52 +00:00
..
define-first-kube-control.yml Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
encrypt-at-rest.yml Rename master to control plane - non-breaking changes only (#11394) 2024-09-06 07:56:19 +01:00
kubeadm-backup.yml Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
kubeadm-etcd.yml Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
kubeadm-fix-apiserver.yml Rename master to control plane - non-breaking changes only (#11394) 2024-09-06 07:56:19 +01:00
kubeadm-secondary.yml Stricter kubeadm validation (config and runtime checks) (#11710) 2024-11-15 06:34:52 +00:00
kubeadm-setup.yml Stricter kubeadm validation (config and runtime checks) (#11710) 2024-11-15 06:34:52 +00:00
kubeadm-upgrade.yml Stricter kubeadm validation (config and runtime checks) (#11710) 2024-11-15 06:34:52 +00:00
kubelet-fix-client-cert-rotation.yml Rename master to control plane - non-breaking changes only (#11394) 2024-09-06 07:56:19 +01:00
main.yml Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
pre-upgrade.yml Rename master to control plane - non-breaking changes only (#11394) 2024-09-06 07:56:19 +01:00