Setting Up a Lightweight K3s Kubernetes Environment with kubectl on WSL2 and Windows 11
This tutorial walks readers through building a compact Kubernetes environment using K3s on an Ubuntu virtual machine hosted on Google Cloud. It assumes Ubuntu is already set up on a Google Cloud VM and on WSL2 under Windows 11, with the two machines connected over a network. The guide covers checking the OS version and available memory, confirming kubectl is absent, and installing K3s with a script that adds the VM's external IP to the TLS certificate. After installation, kubectl is automatically placed on the system, which the author verifies with a follow-up check.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in