Fix shared mounts – working single-node Kubernetes setup

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
Ilya Dmitrichenko
2017-04-10 10:39:07 +01:00
parent 91c4278c77
commit 85b54d5717
4 changed files with 47 additions and 21 deletions

View File

@@ -11,12 +11,12 @@ make
Boot Kubernetes master OS image using `hyperkit` on macOS:
```
../../bin/moby run hyperkit -mem 4096 -cpus 2 kube-master
../../bin/moby run hyperkit -cpus 2 -mem 4096 -disk-size 2048 kube-master
```
Manually initialise master with `kubeadm`:
```
runc exec kubelet kubeadm init --skip-preflight-checks
runc exec kubelet kubeadm-init.sh
```
Once `kubeadm` exits, try `runc exec kubelet kubectl get nodes`.