Installing MicroK8s on Windows 10/11

Note: We recommend Windows 10 Professional or Windows 10 Enterprise. MicroK8s will also require at least 4GB of available RAM and 40GB of storage.

  1. Download the MicroK8s Installer
    Download the latest installer here

  2. Run the installer
    installer image
    The installer checks if Hyper-V is available and switched on. If you don’t have Hyper-v (e.g. on Windows 10 Home edition) it is possible to use VirtualBox as an alternative.

  3. Configure MicroK8s
    configure image
    You can now configure MicroK8s - the minimum recommendations are already provided.
    For information on changing the ‘Snap Track’, see this page.
    You can change this configuration at a later date by re-running the installer. Note that the Memory and Disk limits are initially set at the minimum values. If you are planning on running large workloads (e.g. kubeflow will require around 12GB RAM) you will want to set these higher.

  4. Open a command line

  5. Check the status while Kubernetes starts
    microk8s status --wait-ready

  6. Turn on the services you want
    MicroK8s includes a series of add-ons and services which can be enabled at any time. For example:
    microk8s enable dashboard dns registry istio
    Try running microk8s enable --help for a list of built-in services.
    Turn off services with the microk8s disable command.

  7. Start using Kubernetes!
    MicroK8s wraps the kubectl command familiar to Kubernetes users, so you can simply perform any usual Kubernetes operation. Try:
    microk8s kubectl get all --all-namespaces

  8. Access the Kubernetes dashboard
    microk8s dashboard-proxy

  9. Start and stop Kubernetes
    Kubernetes is a collection of system services that talk to each other all the time. If you don’t need them running in the background then you will save battery and resources by stopping them. microk8s start and microk8s stop will do the work for you.

What next?

Last updated a month ago. Help improve this document in the forum.