mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
* 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.
24 lines
771 B
YAML
24 lines
771 B
YAML
---
|
|
kubeadm_patches_dir: "{{ kube_config_dir }}/patches"
|
|
kubeadm_patches: []
|
|
# See https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/control-plane-flags/#patches
|
|
# Correspondance with this link
|
|
# patchtype = type
|
|
# target = target
|
|
# suffix -> managed automatically
|
|
# extension -> always "yaml"
|
|
# kubeadm_patches:
|
|
# - target: kube-apiserver|kube-controller-manager|kube-scheduler|etcd|kubeletconfiguration
|
|
# type: strategic(default)|json|merge
|
|
# patch:
|
|
# metadata:
|
|
# annotations:
|
|
# example.com/test: "true"
|
|
# labels:
|
|
# example.com/prod_level: "{{ prod_level }}"
|
|
# - ...
|
|
# Patches are applied in the order they are specified.
|
|
|
|
# List of errors to ignore during kubeadm preflight checks
|
|
kubeadm_ignore_preflight_errors: []
|