install kubectl on wsl code example
Example: install kubernetes on wsl
OS: Windows 10 version 2004, Build 19041
WSL2 enabled
In order to install the distros as WSL2 by default, once WSL2 installed, run the command wsl.exe --set-default-version 2 in Powershell
WSL2 distro installed from the Windows Store - the distro used is Ubuntu-18.04
Docker Desktop for Windows, stable channel - the version used is 2.2.0.4
[Optional] Microsoft Terminal installed from the Windows Store
Open the Windows store and type "Terminal" in the search, it will be (normally) the first option