From 5c7280bb6d81000f9759e32c5da50301434f0000 Mon Sep 17 00:00:00 2001 From: Thomas Tanaka Date: Wed, 2 Sep 2020 10:38:29 -0700 Subject: [PATCH] kubeadm reset unmounts /var/lib/kubelet Signed-off-by: Thomas Tanaka --- .../tools/kubeadm/troubleshooting-kubeadm.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/en/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm.md b/content/en/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm.md index 82ceef4696..2e347b0ef6 100644 --- a/content/en/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm.md +++ b/content/en/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm.md @@ -407,4 +407,12 @@ be advised that this is modifying a design principle of the Linux distribution. This error message is shown when upgrading a Kubernetes cluster with `kubeadm` in the case of running an external etcd. This is not a critical bug and happens because older versions of kubeadm perform a version check on the external etcd cluster. You can proceed with `kubeadm upgrade apply ...`. -This issue is fixed as of version 1.19. \ No newline at end of file +This issue is fixed as of version 1.19. + +## `kubeadm reset` unmounts `/var/lib/kubelet` + +If `/var/lib/kubelet` is being mounted, performing a `kubeadm reset` will effectively unmount it. + +To workaround the issue, re-mount the `/var/lib/kubelet` directory after performing the `kubeadm reset` operation. + +This is a regression introduced in kubeadm 1.15. The issue is fixed in 1.20.