v1.7.6 - 2024-09-17
- Fix vSphere CCM and CSI images. The CCM images for versions starting with v1.28.0 are pulled from the new community-owned image repository. The CCM images for versions prior to v1.28.0, and the CSI images, are pulled from the Kubermatic-managed mirror on
quay.io
. If you have a vSphere cluster, we strongly recommend upgrading to the latest KubeOne patch release and runningkubeone apply
as soon as possible, because the old image repository (gcr.io/cloud-provider-vsphere
) is not available anymore, hence it's not possible to pull the needed images from that repository (#3377, @xmudrii) - Example Terraform configs for Hetzner are now using
cx22
instead ofcx21
instance type by default. If you use the new Terraform configs with an existing cluster, make sure to override the instance type as needed, otherwise your instances/cluster will be destroyed (#3372, @kubermatic-bot)
v1.7.5 - 2024-08-08
- Update operating-system-manager to v1.3.6. The latest Ubuntu 22.04 images on Azure have modified the configuration for
cloud-init
and how it accesses its datasource in Azure, in a breaking way. If you're having an Azure cluster, it's required to refresh your machines with the latest provided OSPs to ensure that a system-wide package update doesn't result in broken machines. (#3171, @xrstf)
- Ensure
apparmor-utils
package is installed on Ubuntu as it's required forkubelet
to function properly (#3236, @kubermatic-bot) - Do not put multiple identical tolerations on the CoreDNS deployment (#3299, @kubermatic-bot)
- Load the CA bundle before any addon installations to resolve issues with untrusted TLS connections in environments with self-signed cerificates (#3246, @kubermatic-bot)
- Use the RHEL-based upstream Docker package repository instead of the CentOS package repository as it's not maintained any longer (#3316, @kron4eg)
- Update machine-controller to 1.57.9. This update includes support for IMDSv2 API on AWS for the worker nodes managed by machine-controller (#3324, @xrstf)
- Set
HttpPutResponseHopLimit
to 3 in the example Terraform configs for AWS for the control plane nodes and the static worker nodes in order to support the IMSD v2 API (#3330, @kubermatic-bot) - Fix the default Rocky Linux EC2 image filter query in the example Terraform configs for AWS (#3263, @kubermatic-bot)
v1.7.4 - 2024-05-02
- Update operating-system-manager to v1.3.5. The latest Ubuntu 22.04 images ship with
cloud-init
24.x package. This package has breaking changes and thus rendered our OperatingSystemProfiles (OSPs) as incompatible. It's recommended to refresh your machines with the latest provided OSPs to ensure that a system-wide package update, that updates cloud-init to 24.x, doesn't break the machines. (#3163, @xrstf)
- Clean
yum
cache upon configuring Kubernetes repos. This fixes an issue with cluster upgrades failing on nodes with an olderyum
version (#3147, @kubermatic-bot) - Deploy user defined addons before the external CCM initialization. This fixes an issue with cluster provisioning for users that use both external CCM and external CNI (#3068, @kubermatic-bot)
- Fix cluster upgrades on Debian hosts with deprecated Kubernetes repositories (#3084, @kubermatic-bot)
- Update machine-controller to v1.57.6 (#3064, @ahmedwaleedmalik)
v1.7.3 - 2024-03-01
- Enforce etcd v3.5.10 for Kubernetes versions that use an older etcd version. This etcd version includes some important stability, reliability, and security fixes (#3004, @kubermatic-bot)
- Fix KubeOne failing to provision and upgrade Flatcar control plane and static worker nodes due to
torcx
removal (#3041, @kron4eg) - Fix Helm deploying resources in the wrong namespace (#3001, @kubermatic-bot)
- Improve error messages when working with remote files over SSH (#3054, @kubermatic-bot)
v1.7.2 - 2024-01-05
- Fix determining the
CLUSTER_NAME
environment variable for OpenStack CCM DaemonSet and OpenStack Cinder CSI Deployment. This fixes a regression where the cluster name was changed tokubernetes
upon runningkubeone apply
two or more times after upgrading from KubeOne 1.6 to KubeOne 1.7. This regression might affect Octavia Load Balancers, making them fail to reconcile. Please check the known issues document to find if you're affected by this issue and what steps you need to take if you're affected (#2979, @kubermatic-bot)
- Delete AzureDisk's
csi-azuredisk-node-secret-binding
ClusterRoleBinding if RoleRef's name iscsi-azuredisk-node-sa
to allow upgrading KubeOne from 1.6 to 1.7 (#2984, @kubermatic-bot) - Increase the memory requests and limits from 300Mi to 600Mi for cluster-autoscaler to prevent cluster-autoscaler from being
OOMKilled
(#2979, @kubermatic-bot)
- Update backup-restic addon to use etcd 3.5.11 for creating etcd snapshots (#2982, @kubermatic-bot)
v1.7.1 - 2023-11-10
- Allow setting
CCM_CONCURRENT_SERVICE_SYNCS
parameter on CCM addons to configure number of concurrentLoadBalancer
service reconciles (#2918, @kubermatic-bot) - Support for customizing
vAppName
for VMware Cloud Director CSI driver (#2956, @kubermatic-bot)
- Fix a bug with the VMware Cloud Director CSI driver addon where it would crash if no
VCD_API_TOKEN
is set (#2956, @kubermatic-bot) - Fix a bug where wildcard registry name provided to the machine-controller-webhook Deployment is not properly escaped (#2928, @kubermatic-bot)
- Fix a bug where
kubeadm init
andkubeadm join
report that thecontainerRuntimeEndpoint
field inKubeletConfiguration
doesn't exist for clusters running Kubernetes versions prior to 1.27 (#2940, @kubermatic-bot) - Fix a bug where
registryConfiguration.OverrideRegistry
wasn't correctly applied to the pause image configured for control plane and static worker nodes (#2930, @kubermatic-bot) - Fix a bug where the CA bundle was not propagated to the vSphere CSI driver (#2907, @kubermatic-bot)
- Fix a globbing issue for
apt-get install
causing KubeOne to install wrong Kubernetes version in some circumstances (#2959, @kubermatic-bot) - Fix incorrect validation that made
VCD_API_TOKEN
unusable for VMware Cloud Director (#2946, @kubermatic-bot)
- Update metrics-server and cluster-autoscaler to the latest patch releases (#2957, @xmudrii)
- Update Canal to v3.26.3 (#2957, @xmudrii)
- Update Calico VXLAN to v3.26.3 (#2957, @xmudrii)
- Update Cilium to v1.14.3 (#2957, @xmudrii)
- Store GPG keys for package repositories in
/etc/apt/keyrings
instead of deprecatedapt-key-add
command (#2920, @kubermatic-bot) - Download cri-tools from the Kubernetes package repositories instead of the Amazon Linux 2 package repositories on instances running Amazon Linux 2 (#2951, @kubermatic-bot)
- Update CRDs for the operating-system-manager (OSM) addon (#2935, @kubermatic-bot)
v1.7.0 - 2023-09-08
- Migrate from the legacy package repositories (
apt.kubernetes.io
andyum.kubernetes.io
) to the Kubernetes community-hosted package repositories (pkgs.k8s.io
). The legacy repositories have been deprecated as of August 31, 2023 and will be frozen starting from September 13, 2023. Upgrading to KubeOne v1.7.0+ or v1.6.3+ is required in order to install or upgrade to Kubernetes version newer than v1.27.6, v1.26.9, and v1.25.14. If IP-based or URL-based filtering is in place, you may need to mirror the release packages to a local package repository that you have strict control over. See the official announcement for more details (#2873, @xmudrii) - Migrate from the Kubernetes release bucket (
https://storage.googleapis.com/kubernetes-release/release
) todl.k8s.io
for downloading binaries. This change only affects Flatcar-based clusters. If IP-based or URL-based filtering is in place, you need to allow the appropriate IP addresses and domains as described in the officialdl.k8s.io
announcement (#2873, @xmudrii) - Use OpenStack native Load Balancer for the Kubernetes API in the example Terraform configs for OpenStack. Do not apply this change for existing clusters as that will completely break the control plane. Existing clusters must continue using the GoBetween Load Balancer or whatever solution is in place (#2869, @kron4eg)
- The minimum Kubernetes version has been increased to v1.25.0. If you're using an earlier Kubernetes version, please upgrade to at least v1.25 before upgrading to KubeOne v1.7. See the Kubernetes compatibility matrix for more information about supported Kubernetes versions (#2897, @xmudrii)
- Add
.cloudProvider.disableBundledCSIDrivers
boolean field to the API. When set totrue
, the built-in CSI driver will not be deployed to the cluster. If enabled for an existing cluster, the CSI driver and relevant volumes must be removed manually (#2784, @kron4eg) - Add support for referencing credentials exposed via environment variables or credentials file in cloudConfig (
.cloudProvider.cloudConfig
). Credentials are referenced like{{ .Credentials.ENVIRONMENT_VARIABLE_NAME }}
(#2789, @kron4eg) - Add
.helmReleases.*.chartURL
field to the API. This field can be used to provide a direct chart URL location (#2836, @kron4eg) - Make
.helmReleases.*.repoURL
an optional field (#2715, @kron4eg)
- Add support for Kubernetes 1.27 (#2812, @xmudrii)
- Important: AWS-based clusters require using external cloud controller manager (CCM) with Kubernetes 1.27 and newer. Existing clusters running in-tree cloud provider must migrate to the external CCM before upgrading to Kubernetes 1.27
- Add IPv4/IPv6 dual-stack support for vSphere (#2806, @ahmedwaleedmalik)
- Add experimental support for Debian (#2732, @madalinignisca)
- Add support for API token authentication for VMware Cloud Director (#2751, @ahmedwaleedmalik)
- Add an optional
CLUSTER_AUTOSCALER_SKIP_LOCAL_STORAGE
parameter for thecluster-autoscaler
addon used to enable/disable skipping local storage when downscaling nodes (see https://github.com/kubermatic/kubeone/tree/release/v1.7/addons/cluster-autoscaler for more details) (#2872, @c4tz) - Add an optional
clusterid
parameter for the VMware Cloud Director CSI driver addon used to customize the Cluster ID value used by the CSI driver (#2730, @JamesClonk) - Provide the explicit list of safe ciphersuites to kubelet to fix the issue reported by the CIS benchmark (#2814, @kron4eg)
- Upgrade cri-tools to v1.27.1 for clusters running Kubernetes 1.27 (#2873, @xmudrii)
- Update base image for KubeOne container image to
alpine:3.17
(#2812, @xmudrii)
- Update Canal CNI to v3.26.1 and Cilium to v1.14.1 (#2860, @WeirdMachine)
- Update Canal CNI to v3.26.0 and Cilium to v1.13.3 (#2799, @WeirdMachine)
- Update Calico VXLAN CNI addon to v3.26.1 (#2844, @kron4eg)
- Update NodeLocalDNSCache to 1.22.23 (#2813, @xmudrii)
- Update metrics-server to v0.6.3 (#2813, @xmudrii)
- Update cluster-autoscaler to v1.27.2, v1.26.3, v1.25.2, v1.24.2 (#2842, @xmudrii)
- Update images in
backups-restic
andunattended-upgrades
addons (#2845, @kron4eg)
- Update machine-controller to v1.57.3 (#2861, @kron4eg)
- Update machine-controller to v1.57.2 (#2833, @kron4eg)
- Update machine-controller to v1.57.0 (#2812, @xmudrii)
- Update operating-system-manager to v1.3.2 (#2861, @kron4eg)
- Update operating-system-manager to v1.3.0 (#2812, @xmudrii)
- Update operating-system-manager to 1.2.2 (#2762, @pkprzekwas)
- Update AWS CCM to v1.27.1, v1.26.1, v1.25.3, v1.24.4 (#2820, @xmudrii)
- Update AWS EBS CSI driver to v1.22.0 (#2859, @kron4eg)
- Update AWS EBS CSI driver to v1.20.0 (#2820, @xmudrii)
- Update CSI Snapshotter for AWS EBS CSI driver to v6.2.1 (#2820, @xmudrii)
- Update Azure CCM to v1.27.6 (#2830, @kron4eg)
- Update AzureDisk CSI and AzureFile CSI to v1.27.1 (#2831, @kron4eg)
- Update DigitalOcean CCM to v0.1.43 (#2840, @kron4eg)
- Update DigitalOcean CSI to v4.6.1 (#2840, @kron4eg)
- Update Hetzner CCM to v1.17.1 (#2825, @kron4eg)
- Update Hetzner CCM to v1.16.0 (#2816, @kron4eg)
- Update Hetzner CCM to v1.15.0 to support the new ARM instances (#2774, @kron4eg)
- Update Hetzner CSI to v2.2.0 (#2722, @xmudrii)
- Update VMWare Cloud Director CSI driver to v1.4.0 (#2827, @kron4eg)
- Update VMware Cloud Director CSI driver to v1.3.2 (#2747, @ahmedwaleedmalik)
- KubeOne is now built with Go 1.20.5 (#2812, @xmudrii)
- KubeOne is now built with Go 1.20.4 (#2783, @xmudrii)
- KubeOne is now built with Go 1.20.3 (#2756, @pkprzekwas)
- Fix installing Helm charts containing CRDs (#2839, @kron4eg)
- Fix defaulting for
vpc_id
in the example Terraform configs for AWS with dual-stack networking (#2815, @ahmedwaleedmalik) - Fix some of issues reported by the CIS benchmark for the control plane nodes (#2797, @kron4eg)
- Explicitly start Docker in the example Terraform configs for vSphere (#2744, @kron4eg)
net.ipv4.conf.all.rp_filter
sysctl config is now managed by Cilium instead of KubeOne (#2894, @xmudrii)- Apply the external CCM addon before applying user-provided addons (#2861, @kron4eg)
- Redeploy AWS EBS CSI driver upon upgrading from earlier KubeOne versions to KubeOne 1.7 to update PodSelector labels (#2824, @xmudrii)
- Redeploy OpenStack CCM and Cinder CSI driver upon upgrading from earlier KubeOne versions to KubeOne 1.7 to update PodSelector labels (#2824, @xmudrii)
- Explicitly bind the pause image (version depends on Kubernetes version) to avoid version drift between kubeadm/kubelet and containerd (#2812, @xmudrii)
- Run
kubeadm
preflight checks to validate that the cluster requirements are satisfied before initializing and provisioning a cluster (#2759, @kron4eg) - Ignore some
kubeadm
preflight checks when validating cluster requirements to account for adding new static worker nodes (#2803, @xmudrii) - Default to Basic SKU for Azure Load Balancers in the example Terraform configs for Azure (#2858, @kron4eg)
- Rename anti-affinity rule for the control plane nodes in the example Terraform configs for vSphere to include the cluster name (#2794, @WeirdMachine)
- Use
buildx
instead of Buildah to create multi-architecture KubeOne container images (#2807, @xmudrii)