K3d Versions Save

Little helper to run CNCF's k3s in Docker

v5.2.1

2 years ago

v5.2.1

Features & Enhancements

Fixes

  • fix: only replace default api host with docker host (#879)
  • fix: use available hardcoded K3s version in version.go (0bbb5b9)

New Contributors

Full Changelog: https://github.com/rancher/k3d/compare/v5.2.0...v5.2.1

v5.2.1-rc.0

2 years ago

v5.2.1-rc.0

Changes

v5.2.0

2 years ago

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 a k3d-tools container for importing
      • auto is the new default to automatically detect which mode should work best
      • direct directly streams the images into the node containers without the k3d-tools container
  • 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)

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 resolving host.docker.internal (#872)
    • also now uses host.docker.internal in kubeconfig based on certain conditions (see PR)

New Contributors

Full Changelog: https://github.com/rancher/k3d/compare/v5.1.0...v5.2.0

v5.1.0

2 years ago

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 be latest or stable, 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: inject host.k3d.internal into /etc/hosts similar to the cluster create command (#843)

Fix

  • --network host: do not do any network magic (like host.k3d.internal injection, etc.) when host 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 and coredns (#845)

Full Changelog: https://github.com/rancher/k3d/compare/v5.0.3...v5.1.0

v5.0.4-rc.0

2 years ago

v5.0.3

2 years ago

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

Full Changelog: https://github.com/rancher/k3d/compare/v5.0.2...v5.0.3

v5.0.2

2 years ago

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: https://github.com/rancher/k3d/compare/v5.0.1...v5.0.2

v5.0.2-rc.1

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/rancher/k3d/compare/v5.0.2-rc.0...v5.0.2-rc.1

v5.0.2-rc.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/rancher/k3d/compare/v5.0.1...v5.0.2-rc.0

v5.0.1

2 years ago

v5.0.1

Enhancement

  • add HostFromClusterNetwork field to LocalRegistryHosting 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

Full Changelog: https://github.com/rancher/k3d/compare/v5.0.0...v5.0.1