This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| == 1. Update Your System == | |
| sudo apt update | |
| sudo apt upgrade -y | |
| == 2. Install k3s == | |
| curl -sfL https://get.k3s.io | sh - | |
| == 3. Give Non-root User Access to K3s Config == | |
| sudo chown $USER:$USER /etc/rancher/k3s/k3s.yaml | |
| export KUBECONFIG=/etc/rancher/k3s/k3s.yaml |