This commit is contained in:
Marc Bihlmaier 2021-03-26 09:58:15 +01:00 committed by Marc Bihlmaier
parent 7115be42e1
commit b65ac6a5f4
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,9 @@
---
# ---- DEPRECATED ----------------
#
# Most of the kubernetes_kubelet_extra_args are deprecated. See https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet for details.
# Use the kubernetes_kubelet_config variable instead, which will be used to create the kubelet config file https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/
# Use the kubernetes_kubelet_config variable instead, which will be used to create the kubelet config file.
- name: Check for existence of kubelet environment file. (deprecated)
stat:
@ -30,7 +32,7 @@
state: present
mode: 0644
register: kubelet_extra_args
when: kubernetes_kubelet_extra_args|length > 0
when: kubernetes_kubelet_extra_args|length > 0
- name: Reload systemd unit if args were changed. (deprecated)
systemd:

View File

@ -20,7 +20,7 @@
- include_tasks: sysctl-setup.yml
- include_tasks: kubelet-setup.yml # deprecated
- include_tasks: kubelet-setup.yml # deprecated
when: kubernetes_kubelet_extra_args|length > 0
- name: Ensure kubelet is started and enabled at boot.

View File

@ -1,3 +1,4 @@
---
apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
{{ kubernetes_config_init_configuration | to_nice_yaml }}