Last active
January 9, 2024 17:38
-
-
Save smijar/15b81f9abe566a602c7caafc25d927dc to your computer and use it in GitHub Desktop.
k3d create cluster without traefik and serverlb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Possibly obsolete: k3d create --name testcls1 --workers 3 | |
k3d create --name testcls1 --workers 3 --server-arg "--no-deploy=traefik" --server-arg "--no-deploy=servicelb" | |
# UPDATE: in newer versions onwards, this has evolved to (thanks to comments below): | |
k3d cluster create --k3s-arg "--no-deploy=traefik@server:*" |
Thank you - I have updated as mentioned.
It seems that --no-deploy
has been deprecated. k3s-io/k3s#1382
k3d now recommends using --disable
instead, like this:
k3d cluster create --k3s-arg "--disable=traefik@server:*" <cluster-name>
I am using
k3d version v5.4.8
k3s version v1.25.6-k3s1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on k3d-io/k3d#292 (comment) now must use
k3d cluster create --k3s-arg "--no-deploy=traefik@server:*"