Setting up a WSL based Azure Developer Machine
Install and update WSL 2 on Windows 10
sudo apt install azure-cli
sudo apt install golang-go
sudo apt install python3-pip
pip3 install jmespath-terminal
wget https://github.com/ahmetb/kubectx/releases/download/v0.9.4/kubectx
chmod +x kubectx && sudo mv kubectx /usr/local/bin/
wget https://github.com/ahmetb/kubectx/releases/download/v0.9.4/kubens
chmod +x kubens && sudo mv kubens /usr/local/bin/
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
chmod +x ./kind && sudo mv ./kind /usr/local/bin/
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
Docker Setup
- Download Docker Desktop
- You’ll have to logout and log back in
- Settings -> Resources -> WSL Integration -> Enable Ubuntu
- Settings -> Kubernetes -> Enable Kubernetes
- Click Apply & Restart, click ok on the install dialog
Visual Studio Code + Extensions