With Code and the Remote – WSL extension, everything else can be done from the Ubuntu terminal in Code. Note: I also installed the Docker extension but, this is not required.
Docker Desktop has an option to provide this and it's easy to setup. In oder to accomplish the goal of using Helm to install a dev instance of PubSub+, access to a Kubernetes cluster is required. Once that is setup, it is time to install Docker Desktop in step 2. Open a PowerShell Window as administrator and enter the following command. Install updates to Ubuntu $ sudo apt updateĪnd just to be sure, make sure that Ubuntu was properly installed into WSL2. Once WSL is enabled and version 2 is set as the default, the easiest way to install Ubuntu 20.04 is via the Microsoft Store. This version will use WSL2 and Ubuntu 20.04. A previous version of this codelab used WSL1 with Ubuntu 18.04. Follow the instructions to install WSL2 and make it the default version.
Instructions from Microsoft on how to install WSL can be found here.
If you don't already have the Windows Subsystem for Linux (WSL) configured, then you will need to enable that and install an OS.
Windows 10 Helm / Kubernetes Development Environment SetupĪre you interested in trying out Kubernetes on your Windows PC? This CodeLab will show you how to setup a desktop Kubernetes environment using Docker Desktop, Windows Subsystem for Linux, Helm and Visual Studio Code.