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
Install MicroK8s:
Copysudo snap install microk8s --classic --channel=1.19/stable
Alias microk8s.kubectl to kubectl: Copysudo snap alias microk8s.kubectl kubectl
Copysudo usermod -a -G microk8s <username>
Copysudo chown -f -R <username> ~/.kube
To ensure the changes are applied correctly, either log out and back in again, or restart your system.
Enable Kubernetes add-ons:
Copymicrok8s.enable dashboard
Copymicrok8s.enable dns
Copymicrok8s.enable ingress
Copymicrok8s.enable storage
Comments
0 comments