Skip to content

Instantly share code, notes, and snippets.

@retpolanne
Last active September 24, 2019 21:21
Show Gist options
  • Select an option

  • Save retpolanne/609dc15fe7db020d49382ecd4b4206db to your computer and use it in GitHub Desktop.

Select an option

Save retpolanne/609dc15fe7db020d49382ecd4b4206db to your computer and use it in GitHub Desktop.

MicroK8s

Installing and configuring MicroK8s

# You can find other channels at https://microk8s.io/docs/release-channels
snap install microk8s --classic --channel=1.14/stable

# use this to check microk8s status
microk8s.status

# Create a kubeconfig, so you can use kubectl
microk8s.kubectl config view --raw > $HOME/.kube/config

# Install kube-dns
microk8s.enable dns

# Allow traffic to be forwarded from microk8s
sudo ufw default allow routed

# Enable storage
microk8s.enable storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment