r/kubelet: Pass --config arg to service
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.
This commit is contained in:
2
roles/kubelet/files/extra-args.systemd.conf
Normal file
2
roles/kubelet/files/extra-args.systemd.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
Environment=KUBELET_EXTRA_ARGS='--config=/var/lib/kubelet/config.yaml'
|
||||
Reference in New Issue
Block a user