Notify deletion of Kubelet bootstrap token

Kubeadm deletes the file `/etc/kubernetes/bootstrap-kubelet.conf` as per https://github.com/kubernetes/kubernetes/pull/80676
This commit is contained in:
Chiranga Alwis
2021-10-20 02:20:40 +05:30
committed by GitHub
parent 3d826f0957
commit 40f5256924
@@ -151,8 +151,10 @@ systemctl daemon-reload && systemctl restart kubelet
After the kubelet loads the new configuration, kubeadm writes the
`/etc/kubernetes/bootstrap-kubelet.conf` KubeConfig file, which contains a CA certificate and Bootstrap
Token. These are used by the kubelet to perform the TLS Bootstrap and obtain a unique
credential, which is stored in `/etc/kubernetes/kubelet.conf`. When this file is written, the kubelet
has finished performing the TLS Bootstrap.
credential, which is stored in `/etc/kubernetes/kubelet.conf`.
When the `/etc/kubernetes/kubelet.conf` file is written, the kubelet has finished performing the TLS Bootstrap.
Kubeadm deletes the `/etc/kubernetes/bootstrap-kubelet.conf` file after completing the TLS Bootstrap.
## The kubelet drop-in file for systemd