linkerd2
linkerd2 copied to clipboard
Change `--no-deploy` to `--disable` in k3d init recipe
The --no-deploy flag seems to have been deprecated and replaced with --disable. Newer k3d versions (tested with v5.4.3 and above) will not work with our current justfile recipe. Our dev container uses v5.4.4; this change updates the recipe to be able to create a k3d cluster.
Fixes #9448
Tested with v5.4.3:
:; just k3d-create
k3d cluster create l5d-test --image='+latest' --agents='0' --servers='1' --no-lb --k3s-arg '--disable=local-storage,traefik,servicelb,metrics-server@server:*' --kubeconfig-update-default --kubeconfig-switch-context=false
...
INFO[0008] Cluster 'l5d-test' created successfully!
INFO[0009] You can now use it like this:
kubectl config use-context k3d-l5d-test
kubectl cluster-info
Signed-off-by: Matei David [email protected]
Changing the flag works with MSKV:
:; just k3d-k8s=v1.21 k3d-create
...
kubectl --context=k3d-l5d-test wait pod --for=condition=ready --namespace=kube-system --selector=k8s-app=kube-dns --timeout=1m
pod/coredns-574bcc6c46-s46mb condition met