Skip to content

Releases: k0sproject/k0sctl

v0.17.0

04 Jan 08:15
v0.17.0
3dcf3f0
Compare
Choose a tag to compare

What's Changed

  • Look for fallback OS support through ID_LIKE field by @kke in #584
  • Validate API connectivity from new controllers before install by @kke in #577
  • Run reset after k0s install has been run but host doesn't come up by @kke in #582
  • Don't retry connection on hostkey mismatch by @kke in #593
  • Fix k0sctl upgrade check by @kke in #594
  • Add an experimental --dry-run by @kke in #588
  • Cordon workers before upgrade by @kke in #595
  • Error out in ValidateHosts if all controllers are marked to be reset by @kke in #607
  • Fix getting host address on OpenSSH connections by @kke in #597
  • Skip GatherK0sFacts for hosts without pre-existing k0s by @kke in #606
  • Don't use filepath.Dir which breaks linux paths on windows clients by @kke in #616
  • Switch ozzo-validate to maintained jellydator/validation fork by @kke in #575
  • Bump k8s.io/client-go from 0.28.3 to 0.29.0 by @dependabot in #608
  • Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #612
  • Bump github.com/urfave/cli/v2 from 2.25.7 to 2.26.0 by @dependabot in #604
  • Bump github.com/urfave/cli/v2 from 2.26.0 to 2.27.1 by @dependabot in #615
  • Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 by @dependabot in #579
  • Bump k8s.io/client-go from 0.28.2 to 0.28.3 by @dependabot in #583
  • Bump github.com/bmatcuk/doublestar/v4 from 4.6.0 to 4.6.1 by @dependabot in #585
  • Bump github.com/go-playground/validator/v10 from 10.15.5 to 10.16.0 by @dependabot in #592
  • Bump golang.org/x/text from 0.13.0 to 0.14.0 by @dependabot in #591
  • Bump golang.org/x/net from 0.13.0 to 0.17.0 by @dependabot in #573

SHA256 Checksums

55ed151de7e646669cb49d4c8a3974c2c6dc4645950fa06dd1f609d8d5c8d500 *k0sctl-linux-x64
88d7293ab459b0b0c6cff3bb0ea745af4880625b6c46b20370bc1e2944c2e4ca *k0sctl-linux-arm64
f717e047debc6e05906bd5dccf9d651d3d3f6d4f6ec8c11258ea96099bbc4c77 *k0sctl-linux-arm
ddae4001308f40313a8ca4ed1ff96a9831e8fa5c56b919c0d8ba0d1598aa3604 *k0sctl-win-x64.exe
cd3ccc3e47374810294936b29123cd7185ce563b7e00e82b8ec9fe11daf90b46 *k0sctl-darwin-x64
462356fe787caff77614bb850d7d06ef4b5908432212224f72ee3866fca03f85 *k0sctl-darwin-arm64

Full Changelog: v0.16.0...v0.17.0

v0.16.0

10 Oct 11:23
v0.16.0
7e8c272
Compare
Choose a tag to compare

What's Changed

  • Alternatively use system ssh client to connect (k0sproject/rig v0.15.1) by @kke in #568
  • Validate k0s config before installing into k0s config path by @kke in #567
  • Validate quote balance in installFlags by @kke in #556
  • Wait for control plane scheduling and pods before worker upgrades by @irumaru in #546
  • Conditional iptables installation based on k0s version by @kke in #554
  • Add support for HashKnownHosts SSH config option (rig 0.14.0)
  • Set connect timeout to 20 seconds in HTTPStatus by @juanluisvaladas in #549
  • Fix ssh keypath defaulting (rig v0.13.0)
  • Extract logic from cmd into reusable actions by @kke in #497
  • Refactor: extract node status waiting functions from Host to pkg/node by @kke in #545
  • Use k0sproject/bootloose in place of footloose for smoke tests by @kke in #552
  • Bump github.com/alessio/shellescape from 1.4.1 to 1.4.2 by @dependabot
  • Bump github.com/go-playground/validator/v10 from 10.15.0 to 10.15.5 by @dependabot in #565
  • Bump github.com/k0sproject/rig from 0.13.0 to 0.15.1 by @dependabot
  • Bump golang.org/x/crypto from 0.10.0 to 0.12.0 by @dependabot
  • Bump golang.org/x/term from 0.9.0 to 0.11.0 by @dependabot
  • Bump golang.org/x/text from 0.12.0 to 0.13.0 by @dependabot in #560
  • Bump k0sproject/version to v0.4.1 and adapt usage by @kke in #551
  • Bump k8s.io/client-go from 0.27.4 to 0.28.2 by @dependabot in #540

New Contributors

Full Changelog: v0.15.5...v0.16.0

SHA256 Checksums

b21eb9edc90180d3bfb3413b82efac3811989f85d5c1f8e54750bf7b2144fbc6 *k0sctl-linux-x64
84c380ed36ec2eff8ffa3c4cf199da7c90204ff37b8d99647d90813b32f032a6 *k0sctl-linux-arm64
73a75d30b72038ca9bd2e983dbcbfa398162e9063cb918865b7fee25b189507c *k0sctl-linux-arm
1e1b0d78983f74eedab56623dae0eae8c1f3710974e14cf24bdc97eeb29cb18f *k0sctl-win-x64.exe
e56dfb08b47241c9890d3a0343daf177d9d9a03877aa9c0cf6ec9fd9f95fc5dd *k0sctl-darwin-x64
dc6de5e3ad87b5d5410c502ef39a4262b17ca060576b6b59c2d720cfd38e4f11 *k0sctl-darwin-arm64

v0.15.5

16 Aug 11:07
5e11c56
Compare
Choose a tag to compare

What's Changed

  • Remove go.mod replace directive to fix "go install" by @kke in #524
  • Bump golang.org/x/text from 0.11.0 to 0.12.0 by @dependabot in #528
  • Check for existing k0s service init script when k0s isn't running by @kke in #526
  • Copy networkConfig for every node by @juanluisvaladas in #523
  • Bump github.com/go-playground/validator/v10 from 10.14.1 to 10.15.0 by @dependabot in #530
  • Bump go to 1.21 by @kke in #534
  • Wait for dynamic config reconciliation after leader init by @kke in #531
  • Fix reading host.dataDir from installFlags by @kke in #538
  • Use custom host.dataDir in kubeconfig command by @kke in #536

Full Changelog: v0.15.4...v0.15.5

SHA256 Checksums

62f70e3f524bd88fa3126eb123ad40ef559e9ca2d0511f8c36fe553a0d33b0c2 *k0sctl-linux-x64
7cc2ab7830700c16f5db9ecb64cf569fc1d4c7ba486c60f7ea0e7f15a1d4838d *k0sctl-linux-arm64
26af4fa576f5613d843abc1f29a86bb788fd57e476fb90c0f675cb760c7ee600 *k0sctl-linux-arm
de8adf3818c05b5dd55f911e85a7c975b04df1a95084dcbc759404fe327a4382 *k0sctl-win-x64.exe
1a592e22bb12da002161100f397b500535bd70b7d4eb7b960db858b4de691f3f *k0sctl-darwin-x64
d9da95e69abb27a2e9b2e33ecc9741d127b7dbd51e8991d39cb3b74c19a18acb *k0sctl-darwin-arm64

v0.15.4

02 Aug 08:25
dd78048
Compare
Choose a tag to compare

What's Changed

  • Fix blank version info in k0sctl version command by @kke in #521

Full Changelog: v0.15.3...v0.15.4

SHA256 Checksums

c555ad9664e23f83dba839d6ddf26e92c1a1aa2e837a9d81e53a18c4750ac19a *k0sctl-linux-x64
c1711beb8700ae9855f3180ef12bd515323b3f569b0e4378d5239bff24e8c552 *k0sctl-linux-arm64
85e3e0962cec1328edad0408f9f74db50dbcd1ba1f868a1e83e769f3412013bd *k0sctl-linux-arm
53411a25034e82a2991ef770cda3866962d62181db46e39654ada99b0199fe51 *k0sctl-win-x64.exe
20dd05450c44bc67b585daf6c4cdf5ca3cc76096bca4fc513c763c6a0407be7d *k0sctl-darwin-x64
d714d2950a27ec632ddb688ea3a490b0c22a4ddaabef3c3499c79022aad9ce90 *k0sctl-darwin-arm64

v0.15.3

01 Aug 11:01
753d4c4
Compare
Choose a tag to compare

What's Changed

  • Warn only on mismatch if StrictHostkeyChecking disabled in ssh config by @kke in k0sproject/rig#84
  • Fix localhost connection being closed before all output is read by @emosbaugh in k0sproject/rig#86
  • Bump github.com/urfave/cli/v2 from 2.24.4 to 2.25.6 by @dependabot in #490
  • Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.19 by @dependabot in #491
  • Bump golangci/golangci-lint-action from 3.1.0 to 3.6.0 by @dependabot in #489
  • Bump github.com/creasty/defaults from 1.6.0 to 1.7.0 by @dependabot in #494
  • Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3 by @dependabot in #493
  • Bump github.com/go-playground/validator/v10 from 10.11.2 to 10.14.1 by @dependabot in #492
  • Bump actions/setup-go from 3 to 4 by @dependabot in #488
  • Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 by @dependabot in #501
  • Bump golang.org/x/text from 0.8.0 to 0.10.0 by @dependabot in #500
  • Bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 by @dependabot in #499
  • Bump k8s.io/client-go from 0.26.1 to 0.27.3 by @dependabot in #502
  • Bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7 by @dependabot in #504
  • Bump github.com/k0sproject/rig from 0.11.0 to 0.12.0 by @dependabot in #506
  • Enable analytics only when started from cmd/ by @kke in #507
  • Use BuildInfo for setting k0sctl version when installed using go install by @kke in #508
  • Revert "Use /usr/local/bin on Flatcar (#460)" by @kke in #496
  • Bump golang.org/x/text from 0.10.0 to 0.11.0 by @dependabot in #511
  • Bump github.com/alessio/shellescape from 1.4.1 to 1.4.2 by @dependabot in #514
  • Bump k8s.io/client-go from 0.27.3 to 0.27.4 by @dependabot in #515
  • Ignore v-prefix when comparing k0s versions by @kke in #518
  • Ignore 64bit ARM when setting ETCD_UNSUPPORTED_ARCH by @kke in #519

Full Changelog: v0.15.2...v0.15.3

SHA256 Checksums

487dc360fa04a0f547c5d46ff392ed2724193b8a7a084b28d18528e23c04b52d *k0sctl-linux-x64
295d5aa46337ccdb3146da550e637275ce1394e0d5b9915c99e1b73faaae1727 *k0sctl-linux-arm64
9e7002096bbcbec15041519a6ce0d9d1a5040c3e624780cefb8f0fa4692d5b95 *k0sctl-linux-arm
1b46504cb3988e02dc2082c3366c8e389f512ee4a6587423c6873f4c2f5e776b *k0sctl-win-x64.exe
c6fc08654a256aa6851023e7e6a00b36595761d366605a25baf224e0036db25b *k0sctl-darwin-x64
9276f41f1c164aca8a56704ab121e19a740f01ccf90f2771bc83f1baa8b0e595 *k0sctl-darwin-arm64

v0.15.2

06 Jun 12:33
5300b1c
Compare
Choose a tag to compare

What's Changed

  • Don't count empty private addresses during validation by @twz123 in #485

SHA256 Checksums

140f42ff0d2b97aaa89b7da681ab4b64abc03008bd39d4bf95c841faea125913 *k0sctl-linux-x64
274e0e9e2124a4f743f4f0a42cc29f034a70520ded6af6d0d5012c750cc3c095 *k0sctl-linux-arm64
7a126e64d600772ec5b28da2d4907990f769f53233e9c7946d6706550e4484a7 *k0sctl-linux-arm
ac27c656ef8c9024feec6fd4c0037e603cca20b19477df9b4d3c8f8786b4d6ce *k0sctl-win-x64.exe
814e59536ab43fc0894f56be0b8f12555eb8c9410305f924323281ee1fa4bff1 *k0sctl-darwin-x64
dcc85016735dc53e7e3c94d3aba434841366657b3c50bd7178ebd6c04a3b9966 *k0sctl-darwin-arm64

v0.15.1

31 May 07:41
102ec99
Compare
Choose a tag to compare

What's Changed

  • Use --data-dir from installFlags for token creation by @kke in #439
  • Unify the way k0s binary is installed after upload or download by @kke in #443
  • Add host.DataDir by @kke in #446
  • Retire upgrade test from k0s v0.11.0 by @kke in #441
  • Use --delete-emptydir-data instead of deprecated --delete-local-data by @kke in #447
  • Validate host private address uniqueness by @kke in #453
  • fix: localhost panic nil pointer dereference by @emosbaugh in #455
  • Update copyright year to 2023 by @kke in #457
  • Use /usr/local/bin on CoreOS by @kke in #459
  • Use /usr/local/bin on Flatcar by @kke in #460
  • Bump golang.org/x/net from 0.2.0 to 0.7.0 by @dependabot in #463
  • Ignore missing k0s binary on reset and avoid panic by @kke in #465
  • Use go 1.20 by @kke in #458
  • Fix kubeconfig server address generation for ipv6 by @kke in #466
  • Remove security scan triggering test cert-data by @kke in #470
  • Enable dynamic config on all controllers by @kke in #474

New Contributors

Full Changelog: v0.15.0...v0.15.1

SHA256 Checksums

f65c5eef625b42c5eb798b2ec00c10c9fbdafb4cd5befeac782dd234dd14abd0 *k0sctl-linux-x64
5d833da108d6ca1c0c9e784f9b108cb34d86353f490fbecb7438841859dcf590 *k0sctl-linux-arm64
909d56499013853ccf3b49e6fd2861f0861356a0b4f51eee129af923547429d1 *k0sctl-linux-arm
19a0d9a11b387b00db1a906c4d413fa4a802bccab635ec1a64b4dc5dc02f76a8 *k0sctl-win-x64.exe
7c0a423756d56ffa7adf65b9468d68e77d0192c3f52da24016f82a4f3a65f98f *k0sctl-darwin-x64
cb4f74c55a937c27bb645ebe83219e71e87a8a3ad1daf534cd66dedc038f03f7 *k0sctl-darwin-arm64

v0.15.0

22 Dec 07:23
b0cd9d9
Compare
Choose a tag to compare

Changelog

  • Validate MachineID existence & uniqueness (#435)
  • Fix dual stack installation with cloud provider (#432)
  • Limit concurrency in phases, configurable via --concurrency and --concurrent-uploads (#431)
  • Ensure the k0s binary directory exists for upload (#430)
  • Avoid retrying connection when it is unlikely that it would succeed (#427)
  • SSH agent usage improvements, .ssh/config, .ssh/knownhosts support (#426)
  • Monitor host Ready status from the host itself instead of on leader (#419)
  • Fall back to kubelet.conf as kubeconfig for remote kubectl commands (#418)
  • Remove and reset nodes during apply by setting reset: true in config (#417)

SHA256 Checksums

2742e9449ea92f6fdac57f18fba787fd488e28a793afd81f5abe7a19add2917c *k0sctl-linux-x64
b1671ad9c2f099b9e22d679e1dfe44196273e3581bcdb40c721996af202f6836 *k0sctl-linux-arm64
03590f6d285de3a9936c87a331f704dee6f29080549ac4f47182ccbb7a44d85b *k0sctl-linux-arm
948cdcf9eab223b4ccf72cb8574d471b3b4ad4a0509e3494b8f3bf4a903011dd *k0sctl-win-x64.exe
631e165ffa0fca0fef31f2174257f747696c2f348a251cbb97b598918bd24c7f *k0sctl-darwin-x64
55bc43b824b61296d381c888ba33d10be92e00fe39ac815be2203f93a3f13c5e *k0sctl-darwin-arm64

v0.15.0-rc.1

17 Nov 09:09
ec6886f
Compare
Choose a tag to compare
v0.15.0-rc.1 Pre-release
Pre-release

Changelog

  • Improved default ssh private key selection logic, including .ssh/config support
  • Improved ssh-agent usage
  • Classic ssh host key checking using a known hosts file
  • Deprecate host.ssh.hostKey in favor of using known hosts file
  • Update dependencies such as golang.org/x/crypto

SHA256 Checksums

e13634b6c0552ec450fa06e917775ecb03df70bf0ada671749dc161840299220 *k0sctl-linux-x64
a45e792cc7581d9833a8be9e51239957edc70de7b87f81bb05875cc861e36809 *k0sctl-linux-arm64
4861b1c187e39fb014b05a102bac551a55c73b19877fd3b325929a4fa86ff5bb *k0sctl-linux-arm
b58c135ac92ec88212ebf954a25a52c8728729693d9d60da9e3a73a18355bf42 *k0sctl-win-x64.exe
87206690aaecd6783605cd8cfd14b17b6522aa4b47f75abb357bddeaf67eeedd *k0sctl-darwin-x64
848448d07c42957d0e875ecfc92a4682edaf15c1d4b04289afccbf75cddbfd1b *k0sctl-darwin-arm64

v0.15.0-beta.3

29 Sep 09:51
3ef6ca4
Compare
Choose a tag to compare
v0.15.0-beta.3 Pre-release
Pre-release

Changelog

  • Remove and reset nodes during apply by setting reset: true by @0SkillAllLuck in #417
  • Fall back to kubelet.conf as kubeconfig for kubectl commands by @0SkillAllLuck in #418
  • Monitor host Ready status from host itself instead of leader by @0SkillAllLuck in #419
  • Do not attempt ssh-agent if key has been set explicitly, upgrade ssh and other dependencies by @kke in #420

SHA256 Checksums

fe8dff474d7f835799b0f02bb45708cbe9d729adf0a745372cb26f3134159e1e *k0sctl-linux-x64
25d102ebc9d1c8ad498c086524862e2c36415599c2d2226ca2e75158569b12bc *k0sctl-linux-arm64
0c712f1809eb24267a2a8ae4dfc5c6bcee583db658815c819baf118a9e18547b *k0sctl-linux-arm
e576cef237ebe0dd27a86de4da7a054a7d47517200cf783a30620a1d728fa678 *k0sctl-win-x64.exe
4aad54375e5462d5206b2efa75de3d263075d1330d31861eed96c3a8cdc4057c *k0sctl-darwin-x64
27a121f0f494abc9881287479c9cfb911d18fb6a387370b98083c0d0ce3f96a0 *k0sctl-darwin-arm64

New Contributors

Full Changelog: v0.14.0...v0.15.0-beta.3