Releases: k3d-io/k3d
Releases · k3d-io/k3d
v5.2.0
v5.2.0
Features & Enhancements
- Improve image import performance (#826, @sbaier1)
- New flag:
k3d image import --mode [auto | direct | tools]
tools
is the old default, which spawns ak3d-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 thek3d-tools
container
- New flag:
- Enhanced usability of nodefilters & error messages for wrong usage (#871)
- New command:
k3d version list [k3s | k3d | k3d-proxy | k3d-tools]
to get image tags that can be used with k3d (#870)- e.g. use
k3d version list k3s --format repo
to get the latest image available for K3s and use it viak3d cluster create --image <image>
- Docs: docs/usage/commands/k3d_version_list.md
- e.g. use
Fixes
- cluster network: reserve IP extra IP for k3d-tools container in k3d-managed IPAM to avoid conflicts
- process the SimpleConfig before validating it to avoid early exit in hostnetwork mode (#860)
- error out if
K3D_FIX_DNS=1
is set and user tries to mount a file to/etc/resolv.conf
(conflict) - clusterStart: only run actions which are necessary given the start reason (e.g.
cluster start
vs.cluster create
) - fix injection of
host.k3d.internal
based on resolvinghost.docker.internal
(#872)- also now uses
host.docker.internal
in kubeconfig based on certain conditions (see PR)
- also now uses
New Contributors
Full Changelog: v5.1.0...v5.2.0
v5.1.0
v5.1.0
Features
- clusterCreate:
--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 belatest
orstable
, but also e.g.v1.21
- k3d will then check the K3s channel server to get the latest image for that channel
Enhancements
- nodeHooks: add descriptions and log them for more verbosity (#843)
node create
: injecthost.k3d.internal
into/etc/hosts
similar to thecluster create
command (#843)
Fix
--network host
: do not do any network magic (likehost.k3d.internal
injection, etc.) whenhost
network is used (#844)
Misc
- CI/Makefile: build with
-mod vendor
- docs: document using some K3s features in k3d, including
servicelb
,traefik
,local-storage-provisioner
andcoredns
(#845)
Full Changelog: v5.0.3...v5.1.0
v5.0.4-rc.0
build with -mod vendor
v5.0.3
v5.0.3
Enhancements & Fixes
- simplified way of getting a Docker API Client that works with Docker Contexts and
DOCKER_*
environment variable configuration (#829, @dragonflylee)- fix: didn't honor
DOCKER_TLS
environment variables before
- fix: didn't honor
Full Changelog: v5.0.2...v5.0.3
v5.0.2
v5.0.2
Enhancements
- CoreDNS Configmap is now edited in the auto-deploy manifest on disk instead of relying on
kubectl patch
command (#814) - refactor: add cmd subcommands in a single function call (#819, @moeryomenko)
- handle ready-log-messages by type and intent & check them in single log streams instead of checking whole chunks every time (#818)
Fixes
- fix: config file check failing with env var expansion because unexpanded input file was checked
Misc
- cleanup: ensure that connections/streams are closed once unused (#818)
- cleanup: split type definitions across multiple files to increase readability (#818)
- docs: clarify
node create
help text about cluster reference (#808, @losinggeneration) - refactor: move from io/ioutil (deprecated) to io and os packages (#827, @Juneezee)
Full Changelog: v5.0.1...v5.0.2
v5.0.2-rc.1
What's Changed
- chore(cmd): add subcommands in one call by @moeryomenko in #819
- [Cleanup] Types, ready-log-messages & closing connections by @iwilltry42 in #818
New Contributors
- @moeryomenko made their first contribution in #819
Full Changelog: v5.0.2-rc.0...v5.0.2-rc.1
v5.0.2-rc.0
What's Changed
- [Docs] Clarify
node create
help text about cluster reference by @losinggeneration in #808 - [Enhancement] Edit CoreDNS ConfigMap on disk for more reliability by @iwilltry42 in #814
New Contributors
- @losinggeneration made their first contribution in #808
Full Changelog: v5.0.1...v5.0.2-rc.0
v5.0.1
v5.0.1
Enhancement
- add
HostFromClusterNetwork
field toLocalRegistryHosting
configmap as per KEP-1755 (#754)
Fixes
- fix: nilpointer exception on failed exec process with no returned logreader
- make post-create cluster preparation (DNS stuff mostly) more resilient (#780)
- fix v1alpha2 -> v1alpha3 config migration (and other related issues) (#799)
Misc
- docs: fix typo (#784)
- docs: fix usage of legacy
--k3s-agent/server-arg
flag
New Contributors
- @DarqueWarrior made their first contribution in #784
- @johnpoth made their first contribution in #754
Full Changelog: v5.0.0...v5.0.1
v5.0.1-rc.1
- #780 (more reliable CoreDNS patching)
v5.0.1-rc.0
Fixes
- fix: nil pointer exception when creating a cluster with
--no-lb
in combination with--verbose
or--trace
(#750, thanks @benjaminjb)