Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Last active November 5, 2017 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/9e083e26273acea39ec170c439b0946e to your computer and use it in GitHub Desktop.
Save ajeetraina/9e083e26273acea39ec170c439b0946e to your computer and use it in GitHub Desktop.
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