Skip to content

Instantly share code, notes, and snippets.

@wirwolf
Created August 14, 2021 14:22
Show Gist options
  • Save wirwolf/3f8afad8f90c00fd89dac672d3623592 to your computer and use it in GitHub Desktop.
Save wirwolf/3f8afad8f90c00fd89dac672d3623592 to your computer and use it in GitHub Desktop.
install-microk8s
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
apt update
apt install -y snapd
sudo snap install microk8s --classic
microk8s status --wait-ready
microk8s.enable dns
microk8s stop
microk8s start
microk8s config > /root/.kube/config
snap install kubectl --classic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment