mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-09 06:43:29 +00:00
A few YAML files include the binfmt container, where it's not really needed. Remove it to make the samples simpler. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
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
.