✅ 1. First: Check the kubeconfig Rancher Desktop injects into Windows Rancher Desktop ALWAYS writes a kubeconfig to this standard location: 👉 C:\Users\<your-user>\.kube\config Check it: PowerShell: dir $HOME \.kube If you see a file named config , then that is the correct kubeconfig. eg: Directory: C:\Users\admin\.kube Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 22/11/2024 10:12 AM cache -a---- 06/12/2025 8:58 AM 6054 config Inside WSL run: mkdir -p ~/.kube ln -s /mnt/c/Users/admin/.kube/config ~/.kube/config Now WSL and PowerShell use the same Kubernetes context. Create aliases for...
If u get this error deploying WSL2 distributions ensuring main distro is deployed: checking if main distro is up to date: checking main distro bootstrap version: getting main distro bootstrap version: open \\wsl$\docker-desktop\etc\wsl_bootstrap_version: The network name cannot be found. checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found. Try the following to troubleshoot: Stop Docker Desktop Run the following command in your terminal wsl --unregister docker-desktop Run Docker Desktop again (Will recreate the distro) Note : I also start my Docker Desktop as Administrator each time, so you probably need to run your terminal/Powershell as Administrator like I did .
Setting up k3d with Docker Engine and NGINX Gateway Fabric on WSL2 Ubuntu Setting up k3d on WSL2 Ubuntu with NGINX Gateway Fabric & Custom Docker Engine Format: Blogspot / Blogger Optimized Template Code Architecture Target Engine: Ubuntu Linux (WSL2 Distro - Fresh Installation Setup) Key Frameworks: Docker Engine, k3d, Kubernetes Gateway API, NGINX Gateway Fabric (NGF) Building a lightweight Kubernetes lab environment inside Windows Subsystem for Linux (WSL2) offers seamless speed and developer flexibility. However, combining modern architectures like the standard Kubernetes Gateway API via NGINX Gateway Fabric (NGF) while discarding the pre-baked cluster ingress configuration takes precise choreography. This tutorial details a comprehensive engineering map to cleanly initialize a fresh WSL2 Ubuntu installation, decouple standard ingress controllers, compile natively backed Docker Engines, and ...
Comments