mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-11 11:50:24 +00:00
Fix shared mounts – working single-node Kubernetes setup
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
@@ -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`.
|
||||
|
Reference in New Issue
Block a user