mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-22 16:49:21 +00: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 -cpus 2 -mem 4096 -disk-size 2048 kube-master
Manually initialise master with kubeadm:
runc exec kubelet kubeadm-init.sh
Once kubeadm exits, try runc exec kubelet kubectl get nodes.