Step 2. Install MicroK8s

MicroK8s is a small, fast, secure, single-node Kubernetes that can be installed on a Linux box.

For details, see MicroK8s documentation at https://microk8s.io/docs/.

Procedure
  1. Install MicroK8s:

    Copy
    sudo snap install microk8s --classic --channel=1.19/stable
  2. Alias microk8s.kubectl to kubectl:

    Copy
    sudo snap alias microk8s.kubectl kubectl
    Copy
    sudo usermod -a -G microk8s <username>
    Copy
    sudo chown -f -R <username> ~/.kube

    To ensure the changes are applied correctly, either log out and back in again, or restart your system.

  3. Enable Kubernetes add-ons:

    Copy
    microk8s.enable dashboard
    Copy
    microk8s.enable dns
    Copy
    microk8s.enable ingress
    Copy
    microk8s.enable storage

What’s next?

Step 3. Install DataClarity

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.