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!
pull/362/head
Chris Bargmann 2018-06-07 15:35:50 +02:00 committed by GitHub
parent b974042d95
commit 36093e2863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,10 @@ EOF
Move the `kube-controller-manager` kubeconfig into place: Move the `kube-controller-manager` kubeconfig into place:
``` ```
{
sudo mkdir -p /var/lib/kubernetes/
sudo mv kube-controller-manager.kubeconfig /var/lib/kubernetes/ sudo mv kube-controller-manager.kubeconfig /var/lib/kubernetes/
}
``` ```
Create the `kube-controller-manager.service` systemd unit file: Create the `kube-controller-manager.service` systemd unit file: