From 003572d72b7928f06cdc171cd013f374d240ae48 Mon Sep 17 00:00:00 2001 From: "Shubin(Stan) Peng" <48232605+Stanford-Peng@users.noreply.github.com> Date: Sat, 13 Apr 2024 23:36:14 +1000 Subject: [PATCH] =?UTF-8?q?Error:=20mkdir:=20cannot=20create=20directory?= =?UTF-8?q?=20=E2=80=98/var/lib/kubelet=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error: mkdir: cannot create directory ‘/var/lib/kubelet’ It has been created in the previous section: https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/04-certificate-authority.md#distribute-the-client-and-server-certificates --- docs/05-kubernetes-configuration-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05-kubernetes-configuration-files.md b/docs/05-kubernetes-configuration-files.md index 4169ce5..52a1b47 100644 --- a/docs/05-kubernetes-configuration-files.md +++ b/docs/05-kubernetes-configuration-files.md @@ -188,7 +188,7 @@ Copy the `kubelet` and `kube-proxy` kubeconfig files to the node-0 instance: ```bash for host in node-0 node-1; do - ssh root@$host "mkdir /var/lib/{kube-proxy,kubelet}" + ssh root@$host "mkdir /var/lib/kube-proxy" scp kube-proxy.kubeconfig \ root@$host:/var/lib/kube-proxy/kubeconfig \