Little helper to run CNCF's k3s in Docker
Full Changelog: https://github.com/rancher/k3d/compare/v5.2.0...v5.2.1
k3d image import --mode [auto | direct | tools]
tools
is the old default, which spawns a k3d-tools
container for importingauto
is the new default to automatically detect which mode should work bestdirect
directly streams the images into the node containers without the k3d-tools
containerk3d version list [k3s | k3d | k3d-proxy | k3d-tools]
to get image tags that can be used with k3d (#870)
k3d version list k3s --format repo
to get the latest image available for K3s and use it via k3d cluster create --image <image>
K3D_FIX_DNS=1
is set and user tries to mount a file to /etc/resolv.conf
(conflict)cluster start
vs. cluster create
)host.k3d.internal
based on resolving host.docker.internal
(#872)
host.docker.internal
in kubeconfig based on certain conditions (see PR)Full Changelog: https://github.com/rancher/k3d/compare/v5.1.0...v5.2.0
--image
option (also in config file) magic words to follow K3s channels (#841)
latest
/stable
to follow latest/stable channels of K3s+<channel>
(prefix +
) where <channel>
can as well be latest
or stable
, but also e.g. v1.21
node create
: inject host.k3d.internal
into /etc/hosts
similar to the cluster create
command (#843)--network host
: do not do any network magic (like host.k3d.internal
injection, etc.) when host
network is used (#844)-mod vendor
servicelb
, traefik
, local-storage-provisioner
and coredns
(#845)Full Changelog: https://github.com/rancher/k3d/compare/v5.0.3...v5.1.0
DOCKER_*
environment variable configuration (#829, @dragonflylee)
DOCKER_TLS
environment variables beforeFull Changelog: https://github.com/rancher/k3d/compare/v5.0.2...v5.0.3
kubectl patch
command (#814)node create
help text about cluster reference (#808, @losinggeneration)Full Changelog: https://github.com/rancher/k3d/compare/v5.0.1...v5.0.2
Full Changelog: https://github.com/rancher/k3d/compare/v5.0.2-rc.0...v5.0.2-rc.1
node create
help text about cluster reference by @losinggeneration in https://github.com/rancher/k3d/pull/808
Full Changelog: https://github.com/rancher/k3d/compare/v5.0.1...v5.0.2-rc.0
HostFromClusterNetwork
field to LocalRegistryHosting
configmap as per KEP-1755 (#754)--k3s-agent/server-arg
flagFull Changelog: https://github.com/rancher/k3d/compare/v5.0.0...v5.0.1