Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Building 5-Node Kubernetes Cluster using LinuxKit
#!/bin/bash
# Cloning the LinuxKit Repository
git clone https://github.com/linuxkit/linuxkit
cd linuxkit/
# Building Moby & LinuxKit Tool
make
# Copying the tools into the right PATH
cp -rf bin/moby /usr/local/bin/
cp -rf bin/linuxkit /usr/local/bin
# Peeping into Kubernetes Project
cd projects/kubernetes/
# Build minimal and immutable Kubernetes OS images
make build-vm-images
# Boot Kubernetes master OS image using hyperkit
./boot.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment