-
- Windows 11 (
x64) with WSL 2 (Ubuntu 22.04.2 LTS)
- Windows 11 (
### Installing from the script provided by k3d.io (https://k3d.io/v5.5.1/#install-script)
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash### Note: In WSL you need to start docker -> sudo dockerd
k3d cluster create <dev-cluster-name> -p "8081:80@loadbalancer" -p "8443:443@loadbalancer" --agents=2 --agents-memory 3G --k3s-arg "--disable=traefik@server:0"k3d cluster delete <dev-cluster-name>Dockerfile:
docker build -t my-proj/my-api:v1 .
k3d image import my-proj/my-api:v1 -c <dev-cluster-name>kubectx -d <context-name>kubectl cluster-info
kubectl get nodes
kubectl get namespaces