Skip to content

Instantly share code, notes, and snippets.

View pichayean's full-sized avatar
🏠
Working from home

macus.y pichayean

🏠
Working from home
View GitHub Profile
@pichayean
pichayean / README.md
Created June 21, 2021 14:40 — forked from manics/README.md
Setup a single node Kubernetes cluster for development using kubeadm

kubeadm cloudinit

Setup a single node Kubernetes cluster for development using kubeadm: https://kubernetes.io/docs/setup/independent/install-kubeadm/

Create a CentOS 7 or Ubuntu Xenial (16.04) machine, and run kubeadm.sh as root.

You can pass this script as user-data to cloud-init so that it will be automatically run. For example, on openstack:

openstack server create NAME --flavor FLAVOR --key-name KEY --image 'Ubuntu Xenial' --network NET --security-group SECGROUP --user-data kubeadm.sh