MicroK8S
Install
Latest
snap install microk8s --classicSpecific version
snap install microk8s --classic --channel=1.17/stableSet group
sudo usermod -a -G microk8s $USERLogout from your workstation session and login again.
Useful commands
Get kubeconfig
microk8s.config > $HOME/.kube/configReset cluster
microk8s reset --destroy-storageReferences
https://microk8s.io/docs/commands
Registry
Push
Pushing to this insecure registry may fail in some versions of Docker unless the daemon is explicitly configured to trust this registry. To address this we need to edit /etc/docker/daemon.json and add:
Then restart docker.
Enable registry, build and push image.
Deploy it.
Remove
Run on your workstation:
Then run:
Last updated
Was this helpful?