The systemd unit configuration installed by Fedora's _kubeadm_ package does not pass the `--config` argument to the kubelet service. Without this argument, the kubelet will not read the configuration file generated by `kubeadm` from the `kubelet-config` ConfigMap. Thus, various features will not work correctly, including server TLS bootstrap.
17 lines
262 B
YAML
17 lines
262 B
YAML
- name: load kernel modules
|
|
command:
|
|
/usr/lib/systemd/systemd-modules-load
|
|
|
|
- name: set kernel tunables
|
|
command:
|
|
sysctl --system
|
|
|
|
- name: swapoff -a
|
|
command:
|
|
swapoff -a
|
|
|
|
- name: restart kubelet
|
|
service:
|
|
name: kubelet
|
|
state: restarted
|