What is the difference for different config for kubelet

I have some problem with kubelet.
There are two files that are related to kubelet when I search the isntallation:
/etc/kubernetes/kubelet.conf, /var/lib/kubelet/kubelet.conf, which file should I check the configuration for kubelet

1 Like

Hi @Megan_Liu ,

The kubelet’s kubeconfig file is located at /etc/kubernetes/kubelet.conf and grants it permission to communicate with the API server.

The /var/lib/kubelet/ directory contains the kubelet’s configuration files—for example, certificates (in the pki directory), rotateCertificates, and so on.