DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Install MicroK8s in Ubuntu

Install MicroK8s on Linux

sudo snap install microk8s --classic
Enter fullscreen mode Exit fullscreen mode

Check the status while Kubernetes starts

microk8s status --wait-ready
Enter fullscreen mode Exit fullscreen mode

Turn on the services you want

microk8s enable dashboard dns registry istio
Enter fullscreen mode Exit fullscreen mode

Try

microk8s enable --help
Enter fullscreen mode Exit fullscreen mode

for a list of available services and optional features.

microk8s disable <name>
Enter fullscreen mode Exit fullscreen mode

turns off a service.

Start using Kubernetes

microk8s kubectl get all --all-namespaces
Enter fullscreen mode Exit fullscreen mode

Access the Kubernetes dashboard

microk8s dashboard-proxy
Enter fullscreen mode Exit fullscreen mode

Start and stop Kubernetes to save battery
If you don’t need them running in the background then you will save battery by stopping them.

microk8s start
Enter fullscreen mode Exit fullscreen mode

and

microk8s stop
Enter fullscreen mode Exit fullscreen mode

to stop.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.