Error: mkdir: cannot create directory ‘/var/lib/kubelet’

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
pull/775/head
Shubin(Stan) Peng 2024-04-13 23:36:14 +10:00 committed by GitHub
parent a9cb5f7ba5
commit 003572d72b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 \