- K3S is a certified kubernetes distro for edge and other scenarios
- Rio simplifies application development on kubernetes
- WSL2 run linux on windows, nicer and more integrated than a traditional vm on hyper-v
- Windows 10 with WSL2 set as default
wsl --set-default-version 2
- Docker for Windows installed. Used to create the WSL2 image.
- Open powershell
- Ensure you can run the next script by running:
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
- Run:
iex (new-object net.webclient).downloadstring('https://gist.github.com/juliostanley/622486d82cb8ed334d270ead5f684e89/raw/445d8b336b68c98064d79603034ecd0ede38fbfe/install-k3s-rio-wsl2.ps1')
NOTE: If you are on a machine with 8GB of RAM or less. You should prob use a config similar to this. Set it at ~/.wslconfig, WSL2 will return RAM only on some scenarios so for now its better to restrict it until it can do better.
[wsl2] memory=2GB swap=8GB localhostForwarding=true
Why are you using not latest k3s (FROM rancher/k3s:v1.17.0-k3s.2-alpha1-amd64 in liifi-wsl-k3s.ps1)?