Page tree
Skip to end of metadata
Go to start of metadata

Quickstart

https://microk8s.io/

Microk8s as of version 1.14 uses containerd instead of docker - so install docker if you need to build images directly on the vm - otherwise stick to the built in Kubernetes 1.20/Helm3

Install microk8s on OSX


brew install ubuntu/microk8s/microk8s
Error: python@3.9: the bottle needs the Apple Command Line Tools to be installed.
  You can install them, if desired, with:
    xcode-select --install
brew install ubuntu/microk8s/microk8s
obrienlabs:refarch michaelobrien$ microk8s install
Support for 'multipass' needs to be set up. Would you like to do that it now? [y/N]: y
==> Downloading https://github.com/canonical/multipass/releases/download/v1.8.1/multipass-1.8.1+mac-Darwin.pkg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/114128199/f223d980-f497-49b7-aa30-6f894272f6a2?X
######################################################################## 100.0%
==> Installing Cask multipass
==> Running installer for multipass; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
Password:
installer: Package name is multipass
installer: Installing at base path /
installer: The install was successful.
🍺  multipass was successfully installed!
Waiting for multipass...
Retrieving image: 77% 
Launched: microk8s-vm                                                           
An error occurred when trying to execute 'sudo ping -c 1 snapcraft.io' with 'multipass': returned exit code 1.
obrienlabs:refarch michaelobrien$ sudo microk8s uninstall
Thank you for using MicroK8s!                                                   
obrienlabs:refarch michaelobrien$ sudo microk8s install
Launched: microk8s-vm                                                           
An error occurred when trying to execute 'sudo ping -c 1 snapcraft.io' with 'multipass': returned exit code 1.

Multiple Physical Node microk8s cluster


Deployment Options

  • No labels