Skip to content

Releases: MusicDin/kubitect

v3.0.0

07 Apr 21:16
b9119e3
Compare
Choose a tag to compare

Release v3.0.0

What's new?

  • CI: add ci for go testing of cli (#73, @marmiha)
  • Cluster configuration and validation in Go (previously in Ansible) (#66, #74, @marmiha)
  • Rename cli package to make a valid import path (#75, @marmiha)
  • Cluster configuration defaults (#78, @MusicDin)
  • Local clusters can now be created in any directory, even if the directory is not a Kubitect project (#79, #105, @MusicDin)
  • Merge purge and destroy commands (#82, @MusicDin)
  • Kubespray is now bound to the Kubitect version (#84, @MusicDin)
  • Remove support for kubedns (#86, @MusicDin)
  • Export configuration presets with cli tool (#101, #113, @MusicDin)
  • Embed Ansible and Terraform source code into Go binary (#102, @MusicDin)

What's fixed?

  • Fix Terraform error when VM's IP can't be read (#39, @seumasdunlop)
  • Remove experimental Terraform features (#67, @MusicDin)
  • Reformat go code and add readme for cli (#85, @marmiha)
  • Fix documentation URL in README (#88, @MusicDin)
  • Fix Terraform errors not being displayed if plan phase fails (#95, @MusicDin)
  • Fix unsupported CoreDNS version for Kubernetes versions 1.23 and 1.24 (#94, @MusicDin)
  • Allow tilde in filepaths (#98, @MusicDin)
  • Improve log verbosity in debug mode (#99, @MusicDin)
  • Scaling:
    • Fix Kubespray setup before cluster scaling (#92, @MusicDin)
    • Fix incorrect hosts inventory generation after cluster scaling (#96, #109, @MusicDin)
    • Allow addition and deletion of hosts when cluster is scaled (#97, @MusicDin)
    • Ensure there is no orphan resources when host is removed (#106, @MusicDin)

Docs

Other

v2.3.0

17 Sep 19:01
Compare
Choose a tag to compare

What's fixed

  • Fix qemu-guest-agent may become unavailable after VM reboot (#64, @Nassiel)

What's new

  • Change node instance ID type to string (#59)
  • Add node taints to the reference (#61)
  • Improve docs and and fix code formatting (#65)

v2.2.0

29 Aug 14:01
Compare
Choose a tag to compare

What's changed

  • Change default resource pool path (/var/lib/libvirt/pools/ -> /var/lib/libvirt/images/)
  • Set default data resource path (/var/lib/libvirt/images/)

What's fixed

  • Fix incorrect evaluation of data resource pool names, which prevented multiple data resource pools (per host) on the same path
  • Fix hosts template formatting (#37, @seumasdunlop)
  • Use host_resolvconf instead of docker_dns (#38, @seumasdunlop)
  • Fix missing Kubespray project when scaling down the cluster (#44)
  • Fix nodeTemplate.os.networkInterface inconsitency and add missing documentation (#49)
  • Prevent terraform to manage vm ip to ensure consistent plans (#54)
  • Fix instance id of type string causes node labels not to be applied (#56)

What's new

  • Add support for node taints (#36, @seumasdunlop)
  • Add support for setting the CPU mode (#40, @seumasdunlop)
  • Run terraform plan before apply (#43, @seumasdunlop)
  • Allow creating data disks in the main resource pool and fix data resource pool paths (#48)
  • Add option to auto renew control plane certificates (#58)

Addons

  • Added Rook addon (experimental).

v2.1.0

22 Jul 13:05
Compare
Choose a tag to compare

What's new?

  • Added support for Kubespray addons.

  • Added configuration validation with useful error messages.

  • Added OS distribution presets:

    • ubuntu - Latest Ubuntu 22.04 release
    • ubuntu22 - Ubuntu 22.04 release 2022-07-12
    • ubuntu20 - Ubuntu 20.04 release 2022-07-11
    • debian - Latest Debian 11 release
    • debian11 - Debian 11 release 2022-07-11
  • Added Terraform base module that evaluates some properties, such as OS distro, before creating the Terraform infrastructure.
    This way updating default distro URLs in feature won't recreate existing clusters.

  • Added load balancer port forwarding.

  • Added option to set Keepalived virtual router ID.

  • Added option to set node labels.

  • Improved documentation - added user-guide section and examples with images.

Changes

  • Changed cluster.network.dns -> cluster.nodeTemplate.dns as DNS property sets DNS list for virtual machines not the network.
  • Changed cluster.nodeTemplate.image -> cluster.nodeTemplate.os for better readability.
  • Changed cluster.nodeTemplate.networkInterface -> cluster.nodeTemplate.os.networkInterface as networkInterface reflects the predefined network interface of the operating system.
  • Changed cluster.nodeTemplate.user default value from user to k8s.
  • Changed kubernetes.other.copyKubeconfig default value from ~/.kube/admin.conf to ~/.kube/config.
  • Unified the default values for VM resources for different node types.
     cpu = 2 
     ram = 4 (GiB)
     mainDiskSize = 32 (GiB)
    
  • Removed redundant bridge interface creation on virtual machines when network mode is set to bridge.

Fixes

  • Fix default values not being applied for Kubernetes properties (kubernetes section in config file).

v2.0.7

11 Jun 18:56
Compare
Choose a tag to compare

What's new?

  • Fix #21 - Missing Kubespray default value

v2.0.6

02 Jun 06:12
Compare
Choose a tag to compare

What's new?

  • Bump hc-install dependency on 0.3.2 - fixes occasional "unexpected Content-Type" error when installing Terraform
  • Bridge network mode uses a bridge network interface instead of an enslaved interface - fixes keepalived getting into the FAULT state and making the control plane inaccessible

v2.0.5

10 May 10:41
Compare
Choose a tag to compare

What's new?

  • Improve CLI autocomplete.
  • Locally search for a specific version of Terraform before installing it into the ~/.kubitect/bin directory.
  • Added purge command, which allows you to remove all files left from the destroyed cluster (including configuration files).
  • Terraform modules are now reused when the configuration is reapplied to the existing cluster.
  • All errors are now also redirected to the stdandard error.
  • Fixed scaling of the cluster. When removing and adding nodes in the same action, the process stopped after removing the nodes.

v2.0.4

03 May 14:47
Compare
Choose a tag to compare

What's new?

  • The directory containing the terraform source code was not cloned on cluster initialization.

v2.0.3

03 May 14:05
Compare
Choose a tag to compare

What's new?

  • The terraform.state file is no longer overwritten when the configuration is reapplied
  • Prevents reinitialization of terraform modules if they are already initialized.
  • When creating a cluster with the default configuration, use the latest version instead of the master branch.

v2.0.2

01 May 19:42
Compare
Choose a tag to compare

What's new?

  • Kubitect version can be set either to tag or branch.