Skip to content

Instantly share code, notes, and snippets.

View jalal-araidah's full-sized avatar

Jalal Araidah jalal-araidah

View GitHub Profile
@jalal-araidah
jalal-araidah / k3s-multipass.sh
Created February 24, 2020 06:10 — forked from lucj/k3s-multipass.sh
Setup a k3s kubernetes cluster using Multipass VMs
for node in node1 node2 node3;do
multipass launch -n $node
done
# Init cluster on node1
multipass exec node1 -- bash -c "curl -sfL https://get.k3s.io | sh -"
# Get node1's IP
IP=$(multipass info node1 | grep IPv4 | awk '{print $2}')