mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-10-14 16:02:53 +03:00
Create directory at /var/lib/kubernetes/ before moving config
First of all thanks for the great tutorial! When I did the tutorial, I noticed that the folder `/var/lib/kubernetes/` is missing when moving the kubernetes-controller config. I added the `mkdir` statement to the docs. ``` { + sudo mkdir -p /var/lib/kubernetes/ sudo mv kube-controller-manager.kubeconfig /var/lib/kubernetes/ } ``` Cheers!
This commit is contained in:
@@ -114,7 +114,10 @@ EOF
|
||||
Move the `kube-controller-manager` kubeconfig into place:
|
||||
|
||||
```
|
||||
{
|
||||
sudo mkdir -p /var/lib/kubernetes/
|
||||
sudo mv kube-controller-manager.kubeconfig /var/lib/kubernetes/
|
||||
}
|
||||
```
|
||||
|
||||
Create the `kube-controller-manager.service` systemd unit file:
|
||||
|
Reference in New Issue
Block a user