Files
linuxkit/projects/kubernetes
Justin Cormack eb22d6909f system → onboot daemon → services
As suggested by @shykes these are clearer

- onboot for things that are run at boot time to completion
- services for persistent services

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-08 16:56:47 +01:00
..
2017-04-07 10:09:10 +01:00
2017-04-07 10:09:10 +01:00

Kubernetes

This project aims to demonstrate how one can create minimal and immutable Kubernetes OS images with Moby.

Make sure to cd projects/kubernetes first.

Build container & OS images:

make

Boot Kubernetes master OS image using hyperkit on macOS:

../../bin/moby run hyperkit -mem 4096 -cpus 2 kube-master

Manually initialise master with kubeadm:

runc exec kubelet kubeadm init --skip-preflight-checks

Once kubeadm exits, try runc exec kubelet kubectl get nodes.