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/stableAlias microk8s.kubectl to kubectl: Copysudo snap alias microk8s.kubectl kubectlCopysudo usermod -a -G microk8s <username>Copysudo chown -f -R <username> ~/.kubeTo ensure the changes are applied correctly, either log out and back in again, or restart your system.
Enable Kubernetes add-ons:
Copymicrok8s.enable dashboardCopymicrok8s.enable dnsCopymicrok8s.enable ingressCopymicrok8s.enable storage
Comments
0 comments