Failed to load kubelet config file after os update


#1

Hy everyone
After updating the os on my server (master & nodes), I can’t restart kubernetes.
i’ve an error who said cant find the file /var/lib/kubelet/config.yam on all of my server (master & nodes). i dont understand how it’s possible than the file was removed.

[Feb 6 10:34:25 chgvascldp99 agent: 2019-02-06 10:34:25 CET | ERROR | (domain_forwarder.go:106 in retryTransactions) | Dropped 2 transactions in this retry attempt: 2 for exceeding the retry queue size limit of 30, 0 because the workers are too busy
Feb 6 10:34:25 chgvascldp99 agent: 2019-02-06 10:34:25 CET | ERROR | (config_poller.go:121 in collect) | Unable to collect configurations from provider kubernetes: permanent failure in kubeutil: retry number exceeded
Feb 6 10:34:26 chgvascldp99 systemd: kubelet.service holdoff time over, scheduling restart.
Feb 6 10:34:26 chgvascldp99 systemd: Stopped kubelet: The Kubernetes Node Agent.
Feb 6 10:34:26 chgvascldp99 systemd: Started kubelet: The Kubernetes Node Agent.
Feb 6 10:34:26 chgvascldp99 kubelet: F0206 10:34:26.662744 27634 server.go:189] failed to load Kubelet config file /var/lib/kubelet/config.yaml, error failed to read kubelet config file “/var/lib/kubelet/config.yaml”, error: open /var/lib/kubelet/config.yaml: no such file or directory
Feb 6 10:34:26 chgvascldp99 systemd: kubelet.service: main process exited, code=exited, status=255/n/a
Feb 6 10:34:26 chgvascldp99 systemd: Unit kubelet.service entered failed state.
Feb 6 10:34:26 chgvascldp99 systemd: kubelet.service failed.]

Do you know or have any advice to help me to get back the file ?
What do you think if i run kubeadm init on the master they’ll come back or he’ll remove me from the conf ?

server : 3.10.0-957.5.1.el7.x86_64
kubectl : Major:“1”, Minor:“13”, GitVersion:“v1.13.3” GoVersion:"go1.11.5"
Kubernetes : v1.13.3

Thanks for your help and your advice