scripts to setup a local k8s lab on the laptop
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
basic cluster:
task cluster-create-basic
cluster with cilum enterprise:
task cluster-create-cilium-enterprise
argocd rollouts demo:
task demo-argo-rollouts-blue-green
a script for this can be found here:
https://raw.githubusercontent.com/martijnvdp/bash-code-snippets/main/wsl2/build-wsl2-kernel.sh
sources: https://github.com/microsoft/WSL2-Linux-Kernel/releases
to download and run the script, open a wsl ubuntu terminal and copy this line:
curl https://raw.githubusercontent.com/martijnvdp/bash-code-snippets/main/wsl2/build-wsl2-kernel.sh -o ./build-wsl-kernel.sh && sudo chmod +x ./build-wsl-kernel.sh && sudo ./build-wsl-kernel.sh
and check with uname -r
the version , should have cilium at the end