Created
January 25, 2026 11:26
-
-
Save MudraR/d65964f39a5be6502fd0e8c7d077a79c to your computer and use it in GitHub Desktop.
Install K3s on WSL (Windows 10)
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
| # on WSL, run the following sh. | |
| # https://github.com/k3s-io/k3s?tab=readme-ov-file#quick-start---install-script | |
| curl -sfL https://get.k3s.io | sh - | |
| # https://devops.stackexchange.com/questions/16043/error-error-loading-config-file-etc-rancher-k3s-k3s-yaml-open-etc-rancher | |
| mkdir ~/.kube 2> /dev/null | |
| sudo k3s kubectl config view --raw > "$KUBECONFIG" | |
| chmod 600 "$KUBECONFIG" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment