Skip to content

Commit 40f5256

Browse files
Notify deletion of Kubelet bootstrap token
Kubeadm deletes the file `/etc/kubernetes/bootstrap-kubelet.conf` as per kubernetes/kubernetes#80676
1 parent 3d826f0 commit 40f5256

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/kubelet-integration.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ systemctl daemon-reload && systemctl restart kubelet
151151
After the kubelet loads the new configuration, kubeadm writes the
152152
`/etc/kubernetes/bootstrap-kubelet.conf` KubeConfig file, which contains a CA certificate and Bootstrap
153153
Token. These are used by the kubelet to perform the TLS Bootstrap and obtain a unique
154-
credential, which is stored in `/etc/kubernetes/kubelet.conf`. When this file is written, the kubelet
155-
has finished performing the TLS Bootstrap.
154+
credential, which is stored in `/etc/kubernetes/kubelet.conf`.
155+
156+
When the `/etc/kubernetes/kubelet.conf` file is written, the kubelet has finished performing the TLS Bootstrap.
157+
Kubeadm deletes the `/etc/kubernetes/bootstrap-kubelet.conf` file after completing the TLS Bootstrap.
156158

157159
## The kubelet drop-in file for systemd
158160

0 commit comments

Comments
 (0)