Skip to content

Instantly share code, notes, and snippets.

@esomore
Created May 31, 2019 23:11
Show Gist options
  • Save esomore/5ca3361e99a62d60b28fb6a84f197a35 to your computer and use it in GitHub Desktop.
Save esomore/5ca3361e99a62d60b28fb6a84f197a35 to your computer and use it in GitHub Desktop.
sudo snap install --beta multipass --classic
multipass launch --name microk8s-vm --mem 16 --disk 80G
multipass exec microk8s-vm -- sudo snap install microk8s --classic
multipass exec microk8s.status
multipass exec microk8s-vm -- sudo iptables -P FORWARD ACCEPT\n
multipass exec microk8s-vm -- /snap/bin/microk8s.config > $KEYBASE_HOME/clusters/microk8s
multipass exec microk8s-vm -- /snap/bin/microk8s.enable dns dashboard
multipass exec microk8s-vm -- /snap/bin/microk8s.kubectl get all --all-namespaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment