Release Notes

2.22.13

Updates

  • Update metering to v1.0.6, fixing an error when a custom CA bundle is used (#13011)
  • Update operating-system-manager (OSM) to v1.2.4 (#13084)
    • This includes a fix for Flatcar stable channel (version 3815.2.0) failing to provision as new nodes.

v2.22.12

Bugfixes

  • Stop constantly re-deploying operating-system-manager when registry mirrors are configured (#12972)

Updates

  • Update EKS/AKS version matrix to only include Kubernetes versions supported by those managed offerings. For AKS 1.26-1.28 are supported, for EKS 1.24 to 1.28. The default for newly created external clusters is now 1.28 (#12965)
  • Add support for Kubernetes v1.24.17, v1.25.16 and v1.26.13 and set default version to v1.25.16 (#12984)

v2.22.11

Bugfixes

  • No longer fail constructing vSphere endpoint when a / suffix is present in the datacenter configuration (#12861)

Updates

v2.22.10

Action Required

  • ACTION REQUIRED (EE ONLY): Update metering component to v1.0.5, fixing highly inaccurate data in cluster reports. Reports generated in KKP v2.23.2+ or v2.22.5+ do not represent actual consumption. Ad-hoc reports for time frames that need correct consumption data can be generated by following our documentation (#12824)

Bugfixes

  • Extend project-synchronizer controller in kubermatic-master-controller-manager to propagate labels from Projects in the master cluster to Projects in the seed cluster. This fixes an issue where the metering report doesn’t contain project-labels in separate master/seed setups (#12793)
  • Fix CPU Utilization graph showing no data for User Cluster MLA dashboard “Nodes Overview” (#12817)
  • Fix empty panels in Grafana dashboard “Resource Usage per Namespace” for Master/Seed MLA (#12833)
  • Fix Helm 3.13 failing to install the MLA Minio chart due to “resource name may not be empty” error (#12806)

v2.22.9

Bugfixes

  • Fix node-labeller controller not applying the x-kubernetes.io/distribution label to RHEL nodes (#12751)
  • Increase default CPU limits for KKP API/seed/master-controller-managers to prevent general slowness (#12764)

Updates

  • Add Cilium 1.13.8 as supported CNI version, deprecate cilium version 1.13.0 as it’s impacted by CVE-2023-34242 (#12753)

v2.22.8

Bugfixes

  • Correctly validate Hetzner API response for server type while calculating resource requirements and for networks while validating cloud spec (#12716)
  • Fix vSphere cluster validation: If a Cluster uses a custom datastore, the Seed’s default datastore should not be validated (#12655)

Updates

New Feature

  • Introduce DisableAdminKubeconfig flag in KubermaticSettings to disable the admin kubeconfig feature from dashboard (#12682)

v2.22.7

Supported Kubernetes Versions

  • Add support for Kubernetes 1.25.14 and 1.26.9 (#12641)
  • Set default Kubernetes version to 1.25.14 (#12641)

Bugfixes

  • Fix always defaulting allowed node port IP ranges for user clusters to 0.0.0.0/0 and ::/0, even when a more specific IP range was given (#12589)
  • Migration logic for kubermatic.io/initial-machinedeployment-request annotation no longer checks for dynamic kubelet configuration, a feature unavailable in Kubernetes 1.24+. This caused cluster templates that enabled it previously to fail migration (#12624)

Updates

  • Update to Go 1.19.12 (#12643)
  • Update Vertical Pod Autoscaler to 0.14 (compatible with Kubernetes 1.25+) (#12612)

v2.22.6

Bugfixes

  • Add missing images from envoy-agent DaemonSet in Tunneling expose strategy when running kubermatic-installer mirror-images (#12537)
  • Fix an issue in the kubermatic-installer mirror-images command, which led to failure on the mla-consul chart (#12519)
  • Fix reconcile loop for seed-proxy-token Secret on Kubernetes 1.27 (#12567)
  • Mark all canal CRDs with preserveUnknownFields: false (#12548)
  • MLA: fixes configuration live reload for monitoring-agent and logging-agent (#12507)
  • MLA: fixes for the kubernetes overview dashboard in grafana (#12520)

Updates

  • Update metering to v1.0.4 with increased namespace report generation performance and prometheus to v2.37.9 (#12546)
  • Update telemetry-agent to v0.4.1 (#12572)

v2.22.5

Bugfixes

  • Fix default url configuration of blackbox exporter (#12412)
  • Metrics server write timeout increased (#12314)
  • Alertmanager now allows blackbox exporter to perform healthcheck API call without AuthFailure (#12217)

Updates

Misc

  • Use buildx instead of Buildah to create multi-architecture KKP container images (#12399)

v2.22.4

Bugfixes

  • Fix a bug where redundant webhooks for OSM were not being removed from the seed cluster (#12308)
  • Fix storage calculation for openstack’s resource quota when custom disk size was provided (#12370)
  • The kubeconfig used by konnectivity’s server component gets renewed automatically now, no longer causing konnectivity to stop working when the embedded certificate expires (#12344)

Updates

  • Add support for Kubernetes 1.24.15, 1.25.11 and 1.26.6 (fixing CVE-2023-2431, CVE-2023-2727 and CVE-2023-2728) and set default Kubernetes version to 1.25.11 (#12375)
  • Force update for canal below 3.22 on k8s version 1.26 and above (#12360)
  • Update machine-controller to v1.56.3 (#12392)
  • Update KubeOne to v1.6.2 (#12392)

Misc

  • Limit EtcdDatabaseHighFragmentationRatio rule to avoid triggering excessively for small etcd instances (#12318)
  • Change etcd-defragger CronJob SuccessfulJobsHistoryLimit from 0 to 1 to save logs of the most recent successful job (#12317)

New Feature

  • Add option to disable deployment of default network policies in KubeVirt cluster (#12082)

Dashboard

Bugfixes

  • Allow removing cluster label when PodNodeSelector admission plugin and clusterDefaultNodeSelector namespace are set (#5984)

v2.22.3

Security

  • Fix potential path traversal in mirror-images command (#12294)

Bugfixes

  • Addons: (Openstack) add a dedicated service account for CSI snapshot webhook server (#12201)
  • Fix: do not override floating IP settings from user input for OpenStack initial MD (#12261)
  • Do not try to watch Cluster resources on the master in usersshkey-synchronizer and use Seeds as correct source instead (#12271)
  • Fix a bug that lead to metering reports overwriting each other when used with multiple seeds. Report names now include the Seed name as a Prefix (#12222)
  • Fix MLA stack constantly updating Grafana datasources (#12182)
  • The MLA stack is now able to recover from a lost Grafana volume, properly recreating organizations for KKP projects (#12195)
  • Revert CRD split between master and seed by installing all CRDs on the master again (#12283)

Updates

  • Patch cilium v1.12 and v1.11 to latest patch releases (v1.12.9) (v1.11.16) (#12264)
  • Addons: (#12184)
    • kube-state-metrics updated to v2.5.0
    • node-exporter updated to v1.4.0
  • Update Anexia CCM (cloud-controller-manager) to version 1.5.4 (#12212)

New Feature

  • New alert for NodeTimeDrift (#12275)

Dashboard

Bugfixes

  • Machine Deployments are initialized without waiting for all cluster details to finish loading (#5922)

v2.22.2

Bugfixes

  • Applications: fix OOM in usercluster-controller by limiting the history of helm releases. This fix is critical if user-cluster is using Cilium >= 1.13.0 as CNI. From this version, Cilium is deployed using System Applications (#12090)
  • Include etcd-launcher and gatekeeper images in kubermatic-installer mirror-images (#12130)
  • Include metering images in kubermatic-installer mirror-images (#12144)
  • Fix a bug that causes dedicated Seeds to be stuck in deletion (#12131)
  • Fix calculation of node CPU utilisation in Grafana dashboards for multi-core nodes (#12034)
  • Fix metering CronJobs after KKP upgrades (#12139)
  • Missing CRDs for VPA and KKP resources are correctly installed onto Seeds (#12119)
  • Support for configuring additional volumes for the UI (#12107)
  • Update external-snapshotter validation webhook server to v6.0.1 (#12120)
  • Use seed proxy configuration for seed deployed webhook (#12070)
  • Installer: mla: –mla-skip-minio and –mla-skip-minio-lifecycle-mgr work properly now (#12140)

Updates

  • Update Go version to 1.19.8 (#12143)
  • Update Anexia CCM (cloud-controller-manager) to version 1.5.3 (#12133)
  • Update OSM to 1.2.2 and machine-controller to 1.56.2 (#12157)
  • Add support for Kubernetes 1.24.13, 1.25.9 and 1.26.4. Update default version to 1.25.9 (#12166)

Misc

  • Pull kas-network-proxy/proxy-server:v0.0.35 and kas-network-proxy/proxy-agent:v0.0.35 image from registry.k8s.io instead of legacy GCR registry (eu.gcr.io/k8s-artifacts-prod) (#12067)
  • Disable PodSecurityPolicy in MLA Grafana deployment (#12101)

Dashboard & API

Bugfixes

  • AWS subnets are fetched correctly if credentials are provided directly instead of using a preset (#5883)
  • Fix cluster wizard not selecting a default version if custom versions are configured in KubermaticConfiguration (#5879)
  • Show correct health information for Machine Deployments with no replicas (#5837)

Updates

  • Update Go version to 1.19.8 (#5887)

New Feature

  • Configure Ingress Hostname cluster settings of OpenStack provider (#5861)

v2.22.1

Bugfixes

  • Fix a bug where KKP managed vSphere folders are enforced but shouldn’t (#11962)
  • Fix mla-monitoring-agent configuration being invalid when custom scraping configuration is provided (#11988)
  • Fix wrong labels in cluster/project metrics when uppercase labels were used (#11947)
  • Set proper NodePort range in Cilium config if non-default range is used (#11963)

Updates

  • Update Operating System Manager to v1.2.1 (#12049)
    • Fix an issue where cloud-init scripts re-ran on machine reboot.
  • Update Metering to v1.0.3 (#12035)
    • Add non machine-controller managed machines to average-cluster-machines. Note that this is based on a new metric that will be collected together in the same release, therefore information prior this update is not available.
    • Fixes a bug that leads to low CPU usage values.
    • Remove redundant label quotation.

Misc

  • Add support for ca-bundle to metering cronjobs (#11979)

v2.22.0

Before upgrading, make sure to read the general upgrade guidelines. Consider tweaking seedControllerManager.maximumParallelReconciles to ensure user cluster reconciliations will not cause resource exhaustion on seed clusters. A full upgrade guide is available from the official documentation.

Supported Kubernetes Versions

Supported Versions

  • 1.24.8
  • 1.24.9
  • 1.24.10
  • 1.25.4
  • 1.25.5
  • 1.25.6
  • 1.26.1

Highlights

KubeVirt

KubeVirt cloud provider support is leaving the “technical preview” phase and is now considered GA. A migration guide is available, please read it before proceeding with the KKP upgrade.

  • Fix to ensure that we do not raise an error when reconciling the namespace in the infrastructure KubeVirt cluster, until we get the value of the namespace to create, avoiding transient errors (#10849)
  • Bugfix for KubeVirt infra CSI token creation due to auto-creation disabled in k8s 1.24 (#10908)
  • Introduction of KubeVirt default instance types and instance preferences that will replace virtual machine presets (#11025)
  • Fix wrong quota filtering when VirtualMachineInstancePreset.spec.cpu has no quantity but only other fields (#11046)
  • Add support for ToplogySpreadConstraint for Kubevirt VM (#11114)
  • Add support for instancetype/preference (#11182)
  • Update KubeVirt CCM to v0.4.0 and kubevirt.io/api to v0.58.0 (#11249)
  • Switch StorageClasses init configuration from annotation to DC (#11716)
  • Update KubeVirt DC: add additional network policies configuration (#11659)
  • Update seed and cluster to config StorageClasses from seed (#11701)
  • Graceful user cluster workload eviction in case of bare-metal infra node draining (#11588)
  • Split CSI driver deployment between user and infra cluster and remove user cluster CSI access to KubeVirt cluster (#11370)
  • Fix KubeVirt LB issue (wrong custer-isolation netpol): LB not accessible from outside user-cluster (#11640)
  • Change CustomNetworkPolicies type (extract name) (#11666)
  • Fix missing ccmClusterName feature in KubeVirt clusters upgraded to KKP 2.22 (#11844)

KubeOne Cluster Support

  • Use KubeOne v1.6 for external KubeOne clusters (#1953)
  • Add separate list and details pages for KubeOne clusters (#5412)
  • Add wizard to import KubeOne clusters (#5362)
  • Add support to import AWS KubeOne clusters (#5362)
  • Add support to import Azure KubeOne clusters (#5488)
  • Add support to import GCP KubeOne clusters (#5460)
  • Add support to migrate KubeOne cluster container runtime (#5499)
  • Add support to select preset in credentials step of KubeOne wizard (#5504)
  • Add support to upgrade KubeOne machine deployment version (#5561)

Web Terminal

  • Add Web terminal support for user clusters. This allows users to connect to their clusters from the KKP dashboard using only their browser (#4492)

Dashboard Design

  • Redesign the Admin settings sidenav bar (#5308)
  • Redesign the project sidenav bar (#5211)

Applications

  • Update ApplicationDefinition CRD to handle credentials at “templating” time. This allows downloading helm dependencies from an authenticated registry when application’s source is git (#11452)
  • Add new field ReconciliationInterval in ApplicationInstallation to force reconciliation, even if the ApplicationInstallation CR has not changed (#11467)
  • Extend ApplicationDefinition and ApplicationInstallation CRD with DeployOptions.HelmDeployOptions to control how applications are deployed with Helm(#11608)
    • ApplicationInstallation: set condition ready to unknown with reason InstallationInProgress before starting the installation
    • ApplicationInstallation: don’t try to install / upgrade the application if the max number of retries is exceeded
  • Use string Version type for ApplicationInstallation CRD (#11359)
  • Make uninstall for Applications idempotent (#11622)
  • Add validating and defaulting webhook for Application deployOptions (#11633)
  • Don’t reuse values when upgrading Applications. The values defined in the ApplicationInstallation CR are the source of truth (#11871)
  • Fix bug preventing deletion of an ApplicationInstallation if the ApplicationDefinition was removed before (#11888)
  • Limit the number of retries only if deployOptions.Helm.atomic=true (#11927)

Konnectivity

Konnectivity is now GA.

  • Set PriorityClassName of konnectivity-agent and openvpn-client to system-cluster-critical (#11140)
  • Add keepalive-time Konnectivity setting + set keepalive to 1m by default (#11502)
  • Remove KonnectivityService feature gate & make Konnectivity generally available (#11643)
  • Update Konnectivity version to v0.0.35 (#11657)

Kubermatic Operator

  • The KKP operator can now perform the complete initial setup for new seed clusters. If MinIO/S3-exporter are not required, the KKP installer does not need to be used for setting up new / updating existing seed clusters (#10795)

Presets

  • Add .spec.projects field to Preset resources to allow binding Presets to specific projects (#11100)

OIDC

  • Add groups in OIDC kubeconfig (#11121)
  • Add OIDCProviderConfiguration to Seed’s spec allowing to configure dedicated OIDC provider for each Seed (#11668)

Applications CNI

  • Manage Cilium CNI via Applications. Cilium values can be freely customized now (#11414)

Resource Quotas (EE)

  • Add a default project resource quota setting which can be set in KKP’s global KubermaticSettings. By managing the default quota, for all the projects which do not have a custom quota already set, their ResourceQuota is created/updated/deleted (#11582)
  • Add functionality to configure default project quota (#5565)
  • Add support for live quota update (#5519)
  • The quota widget will be visible on the following places: Cluster template page, Add cluster from template dialog, Add/edit machine deployment dialog (#5075)

Breaking Changes

  • Use registry.k8s.io instead of k8s.gcr.io for Kubernetes upstream images. It might be necessary to update firewall rules or mirror registries accordingly (#11079)
  • KubeVirt: Manual migration of existing MD required. For more information see our docs (#11430)
  • KubeVirt: remove Flavor handling in favour of Instancetype/Preference. action required: manual update of the MD (refer to our documentation) (#11398)
  • Remove experimental support for Thanos in the Prometheus Helm chart (#11424)
  • Cloud provider specific configurations are prohibited from seed-scoped default cluster templates; for existing seed-scoped default cluster templates these settings should be removed manually (#11472)
  • OperatingSystemProfiles and OperatingSystemConfigs have been moved to the user clusters (#11710)
  • CustomOperatingSystemProfile CRD is introduced for maintaining custom OSPs at the seed level. For more information see our docs (#11720)
    • OSP and OSC resources have been moved to user clusters. KKP will take care of migrating the existing resources
    • Custom OperatingSystemProfiles should now be created for the kind CustomOperatingSystemProfile instead of OperatingSystemProfile in the seed namespace
  • Helm has been bumped to v3.11 for Applications. Due to a CVE in the previous version, the helm template function getHostByName has been disabled (function will return an empty string). If you want to enable this function, you have to set deployOptions.helm.enableDNS to true and verify the function getHostByName is not being used in a chart to disclose any information you do not want to be passed to DNS servers.(c.f. CVE-2023-25165) (#11887)
  • vSphere user clusters will no longer have the field .spec.cloud.vsphere.tagCategoryID as it will get removed during the upgrade to KKP 2.22. To make KKP remember that it manages the tag category, please store the values of .spec.cloud.vsphere.tagCategoryID somewhere and add them back to the cluster post-upgrade as .spec.cloud.vsphere.tags.categoryID (#11665))

Removals

  • Remove configuring of optional secondary disks to mount nodes (#5439)
  • Remove support for Pod Security Policy Admission Plugin with k8s v1.25 (#5212)
  • Remove Docker as a supported container runtime

API Changes

  • Add external cluster EKS/AKS/GKE provider configuration into the ExternalCluster CRD (#10982)
  • The address field in the Cluster CRD was deprecated in KKP 2.21 and removed in this release. Use status.address instead. Existing clusters were migrated automatically by the seed-controller-manager in release 2.21 (#10906)
  • Instead of an apiv1.NodeDeployment, a clusterv1alpha1.MachineDeployment must be stored in the kubermatic.io/initial-machinedeployment-request annotation on new clusters (#11339)
  • Seed spec no longer requires defaultDestination for etcdBackupRestore; Omitting it allows to disable default etcd backups (#11594)

Deprecations

  • machine-controller’s built-in user data to provision new nodes is deprecated with this release and will be removed in a future release. OSM is the recommended way to generate user data.

Cloud Providers

  • The cloud-config and cloud-config-csi for user clusters is now stored in a Secret instead of ConfigMap on the seed cluster (in each user cluster namespace) (#10759)
  • By default, the externalCloudProvider feature will be turned on for all newly created clusters (if the provider supports it). Previously this only applied to Anexia/Kubevirt clusters (and to VSphere/Openstack/Azure clusters when using the KKP dashboard). Now the same rules apply no matter how the cluster is provisioned. The feature gate can still be explicitly set to false, but eventually all clusters must be migrated to the external CCM/CSI as in-tree support in Kubernetes is phased out (#11095)

AWS

  • The AWS and EKS cloud provider implementations now use the AWS Go SDK v2 to communicate with AWS (#10922)
  • Add support for the AWS External CCM & EBS CSI driver for Kubernetes 1.24+; newly created AWS clusters will use the externalCloudProvider feature flag automatically, existing clusters must be migrated manually (#11102)
  • Introduce a new field disableIAMReconciling in AWS cloud spec to disable IAM reconciliation (#11272)
  • Add support for dual-stack node IPs with AWS CCM (#11285)

vSphere

  • Remove the overwriteCloudSpec field from vSphere Machine Deployment (#11315)
  • Defaulting vSphere tag category from seed, when it is not specified in user cluster (#11411)
  • Rework vSphere user clusters tagging mechanism to adjust tags and tag categories creation and deletion, as part of the vSphere cloud provider resources reconciliation (#11665)
  • Update vSphere CSI driver to v2.7.0 (#11724)
  • Cleanup default tag categories creation and only create tags in the tag category which assigned on the user cluster level (#11790)
  • Fix a bug where ccm/csi migrated clusters on vsphere have a partially deployed csi validating webhook (#11899)

GCP

  • Add support for GCP CSI Driver in Kubernetes 1.25+ clusters (#11268)
  • Fix updating GCP clusters from 1.24 to 1.25 (#11904)

OpenStack

  • Support for using server groups with OpenStack (#11298)
  • Add support for enforcing custom disk for OpenStack in KubermaticSettings (#11338)
  • Update OpenStack Cinder CSI to v1.24.5 and v1.25.3 (#11454)
  • availabilityZone, dnsServers and nodeSizeRequirements are now optional in the Openstack datacenter spec (#11605)
  • Fix OpenStack cloud provider tenant to project fields migration (#11818)

DigitalOcean

  • Add support for DigitalOcean external CCM (#11464)

Anexia

  • Update Anexia CCM (cloud-controller-manager) to version 1.5.1 (#11656)
  • Extend disk configuration for provider Anexia (#10816)

MLA

  • Installation of UserCluster MLA is now integrated with KKP installer via kubermatic-installer deploy usercluster-mla command (#11008)
  • Consul now uses the kubermatic-fast StorageClass by default (#11291)
  • UserCluster MLA: grafana-agent is now used instead of Prometheus inside the user clusters. Custom rules ConfigMaps should now be prefixed with monitoring-scraping- instead of prometheus-scraping- (#11387)
  • UserCluster MLA: grafana-agent is now used instead of Promtail inside the user clusters. No action is required (#11426)
  • Update MLA components (#11580)
    • Update Consul to 1.14.2
    • Update Cortex to 1.13.1
    • Update Grafana to 9.3.1
    • Update Loki to 2.6.1
    • Update minio to RELEASE.2022-09-17T00-09-45Z
  • MLA: Cortex and Consul operation will be briefly interrupted during the upgrade to patch the required objects (#11861)
  • Fix loading default dashboards into MLA Grafana instance (#11921)

OS Support

  • KKP now defaults to Ubuntu 22.04 LTS when Ubuntu is selected as an operating system (#11007)
  • KKP no longer supports SLES operating system (#11711)

etcd-launcher

  • A race condition bug in etcd-launcher that can trigger on user cluster initialisation and that prevents the last etcd node from joining the etcd cluster has been fixed (#10932)
  • EtcdRestores are moved to a ‘EtcdLauncherNotEnabled phase if required etcd-launcher is not enabled (#11115)
  • Feature flag EtcdLauncher is enabled by default for KubermaticConfiguration (#11684)

Metrics & Alerts

  • Fix missing etcd metrics in Grafana etcd dashboards and master/seed Prometheus by renaming to: etcd_mvcc_db_total_size_in_bytes, etcd_mvcc_delete_total, etcd_mvcc_put_total, etcd_mvcc_range_total, etcd_mvcc_txn_total (#11434)
  • Monitoring: added etcd database size alerts: EtcdDatabaseQuotaLowSpace, EtcdExcessiveDatabaseGrowth, EtcdDatabaseHighFragmentationRatio (#11507)
  • Add unified event monitoring Grafana dashboard (#11402)
  • Enable alert-management using Grafana (#11031)

Expose Strategy

  • Remove TunnelingExposeStrategy feature gate, Tunneling expose strategy promoted to generally available (GA) (#11680)
  • Fix setting exposeStrategy via KKP cluster API endpoint (#11061)
  • Allow expose strategy migration for existing user clusters (#11157)
  • Fix duplicate SourceRange entries for front-loadbalancer Service (#11308)
  • Add TunnelingAgentIP into ClusterNetwork part of the cluster API (#11381)
  • Implemented network-interface-manager for enhancing Tunneling expose strategy reliability (#11432)
  • Fix default tunnelingAgentIP for Tunneling expose strategy (#11443)
  • Change the Tunneling agent interface default IP from 192.168.30.10 to 100.64.30.10 (#11504)
  • Prioritise public IP over private IP in front LoadBalancer service (#11512)
  • Fix external cluster address in cluster’s status.address.ip for the Tunneling expose strategy (#11687)
  • Include tunneling agent IP in apiserver’s TLS cert SANs (#11932)

Installer

  • Add --registry-prefix flag to kubermatic-installer mirror-images command (#11705)
  • The kubermatic-installer will now reject installing a different KKP edition over an existing one (for example installing the Community Edition over a previous Enterprise Edition). This safety check can be disabled by adding --allow-edition-change to the installer. Installing the EE over the CE (i.e. upgrading) is supported, this change just prevents accidental mixups (#11128)
  • Updating KKP requires to change container runtime for all user clusters to containerd beforehand (#11781)
  • The KKP installer will ensure that neither the master nor any seed violate the KKP version skew policy, i.e. skipping a minor release during an upgrade is not permitted. Additionally, all seeds must be healthy for an upgrade to be possible. These changes are to ensure that smaller issues now do not lead to bigger problems during upgrades and migrations (#10907)
  • kubermatic-installer mirror-images correctly picks up konnectivity and Kubernetes dashboard images (#11148)
  • Fix --config flag not being validated in kubermatic-installer mirror-images command in the KKP installer (#11146)
  • Fix kubermatic-installer convert-kubeconfig installer command not generating a SA token (#11197)
  • Fix kubermatic-installer print always printing the CE version of the example YAMLs (#11129)
  • Installer subcommand mirror-images correctly mirrors image kubernetesui/metrics-scraper now (#11207)
  • Observe configured addons tag suffix when extracting addon images in kubermatic-installer mirror-images command (#11702)
  • Remove dependency on docker binary when using kubermatic-installer mirror-images (removes the --docker-binary flag) (#11717)
  • Do not require addons flags in kubermatic-installer mirror-images and fall back to default addons image (#11135)
  • Ignore repository overrides in KubermaticConfiguration by default when mirroring images with kubermatic-installer mirror-images (can be disabled with --ignore-repository-overrides=false) (#11703)
  • Add --skip-seed-validation flag to installer to make it skip validating the given seeds (should be used with great caution only) (#11874)

New Features

  • Add spec.version and spec.cloudSpec.kubeone.region fields in External cluster CRD (#11644)
  • Add types parameter, defining report types, to the /api/v1/admin/metering/configurations/reports POST and PUT (#10889)
  • Add Cilium CNI values validation (#11506)
  • Add option for configuring OCI Helm repository for storing system Applications (e.g. Cilium CNI) (#11708)
  • Add support for kube-dns configmap for NodeLocal DNSCache to allow customization of dns.Fixes an issue with a wrong mounted Corefile in NodeLocal DNSCache (#11664)
  • External clusters on EKS now support assume role (#11259)
  • OPA integration: allow to define enforcementAction in KKP’s constraint.EnforcementAction defines the action to take in response to a constraint being violated.By default, EnforcementAction is set to deny as the default behavior is to deny admission requests with any violation (#11723)
  • seed proxy: increase memory limit from 32Mi to 64Mi (#10984)
  • Support for setting default OperatingSystemProfiles at the seed level (#11105)
  • Support to filter machines based on resources (CPU, RAM, GPU) per datacenter (#11130)
  • Add Canal CNI version v3.24 (#11575)
  • Add support for Cilium CNI 1.13.0 managed by KKP Applications infra (#11908)

New Features (EE)

  • Add support for GroupProjectBindings in MLA Grafana (#11076)

Bugfixes

  • No resources are created for the default addon pod-security-policy when applied to Kubernetes 1.25 or higher (#11373)
    • Remove PodSecurityPolicy resource from aws-node-termination-handler addon
    • Ensure PodDisruptionBudget resource in aws-ebs-csi-driver addon is created via policy/v1 API
  • Actually make enableWebTerminal an optional field (#11362)
  • Container runtime configuration is properly validated while creating or upgrading clusters (#11780)
  • CRDs were missing in the KKP Docker images, making it hard to use the installer in Docker. This was now fixed and the CRDs are available (#11210)
  • Disable promtail initContainer that was overriding system fs.inotify.max_user_instances configuration (#11382)
  • Fix an issue where creating Clusters through ClusterTemplates failed without leaving a trace (the ClusterTemplateInstance got deleted as if all was good) (#11601)
  • Fix kubermatic-webhook failing to start on external seed clusters (#10951)
  • Fix kubermatic-webhook panic on providerName mismatch from CloudSpec (#11236)
  • Fix rare CRD conflict when installing old KKP versions into user clusters created by a different KKP version (#10903)
  • Fix rendering error of the metallb addon causing missing L2Advertisement (#11233)
  • Fix seed-proxy ServiceAccount token not being generated (#11190)
  • Fix the issue where AllowedRegistry ConstraintTemplate was not being reconiciled by Gatekeeper because it’s spec.crd OpenAPI spec was missing a type (#11327)
  • Fix user-ssh-keys-agent Docker image for arm64 containing the amd64 binary (#11606)
  • Fix DNAT controller not installing NAT rules for big clusters (#11267)
  • Improve validation for versioning/update configuration in KubermaticConfiguration (#11749)
  • OPA integration: enable status operation by that audit Pod (#11722)
  • Prefer InternalIP when connecting to Kubelet for Hetzner dual-stack clusters (#10937)
  • Prevent index out-of-bounds issue when querying GKE external cluster status (#11213)
  • Properly clean up Kubernetes Dashboard resources in the user cluster if the Kubernetes Dashboard is disabled (#11574)
  • Repo Digests are now dropped when a docker image is changed by using the overwrite-registry mechanism. Previously kept digests could lead to issues with mirrored Docker images (#11147)
  • Set nginx ingress proxy-read-timeout and proxy-send-timeout to 1 hour to support long-lasting connections (e.g. websocket) (#11756)
  • Use seed proxy configuration for seed-controller-manager (#11561)
  • Paused external clusters will not be processed (#11447)
  • Admission plugin “PodSecurityPolicy” is not supported anymore on Kubernetes version 1.25 and later (#11836)
  • Fix a bug where setting a provider incompatibility rule for all providers was not working (#11891)

Bugfixes (EE)

  • Fix a bug in metering that lead to outdated Project and/or Cluster labels in reports (#11743)

Updates

  • Update to Cilium v1.12.2 and v1.11.9 (#11013)
  • Update MetalLB version to v0.13.7 (#11252)
  • Update cert-manager to 1.10.1 (#11412)
  • Update Dex to 2.35.3 (#11413)
  • Update k8s-dns-node-cache to 1.22.13 (#11287)
  • Update nginx-ingress-controller to 1.5.1 (#11415)
  • Update node_exporter to 1.4.0 (#11425)
  • Update OPA integration Gatekeeper to 3.7.2 (#11188)
  • Update Prometheus to 2.40.2 (#11423)
  • Update to etcd 3.5.6 to prevent potential data inconsistency issues during online defragmentation (#11403)
  • New release of telemetry-client v0.3.0 (#11915)
  • Update supported kubernetes versions for EKS and AKS clusters (#11892)

Updates (EE)

  • Update metering to version 1.0.1 (#11282)
    • Add average-used-cpu-millicores to Cluster and Namespace reports
    • Add average-available-cpu-millicores add average-cluster-machines field to Cluster reports
    • Fix a bug that causes wrong values if metric is not continuously present for the aggregation window

Miscellaneous

  • Update codebase to Kubernetes 1.26 (#11600)
  • Update to controller-runtime 0.13.0 (#10957)
  • Enhanced AKS external cluster status information on errors or warning states (#10913)
  • The quay.io/kubermatic/util:2.2.0 Docker image does not ship with yq3 and yq4 anymore, but only yq (version 4.x) (#10665)
  • User deletion will not be allowed if the user is the sole owner of project which has resources i.e, clusters or external clusters (#11289)
  • Change primary Git branch from master to main (#11206)
  • Move mutation to add default OSP annotations to MachineDeployments to a new operating-system-manager webhook (#11325)
  • Stop overriding upstream chart tolerations for logging/promtail by default, adding node-role.kubernetes.io/control-plane toleration (#11592)
  • Use topology.kubernetes.io/zone instead of failure-domain.beta.kubernetes.io/zone for KKP components (#10808)
  • KKP is now built with Go 1.19.6 (#11931)

Cleanup

  • Remove metrics-server addon. The addon was deprecated in v2.9 and should not be part of any usercluster anymore (#11184)
  • Remove unused Cluster.Status.CloudProviderRevision field which carried no useful information anymore (#11299)

Dashboard & API

API Changes

  • Add API endpoint for Equinix Metal that allow using project-scoped Presets as credentials (#5407)
  • Add API endpoint for Hetzner that allows using project-scoped Presets as credentials (#5246)
  • Add API endpoints for Alibaba that allow using project-scoped Presets as credentials (#5531)
  • Add API endpoints for Anexia that allow using project-scoped Presets as credentials (#5395)
  • Add API endpoints for AWS that allow using project-scoped Presets as credentials (#5441)
  • Add API endpoints for Azure that allow using project-scoped Presets as credentials (#5324)
  • Add API endpoints for DigitalOcean that allow using project-scoped Presets as credentials (#5498)
  • Add API endpoints for EKS that allow using project-scoped Presets as credentials (#5125)
  • Add API endpoints for GCP that allow using project-scoped Presets as credentials (#5330)
  • Add API endpoints for KubeVirt that allow using project-scoped Presets as credentials (#5509)
  • Add API endpoints for Nutanix that allow using project-scoped Presets as credentials (#5154)
  • Add API endpoints for OpenStack that allow using project-scoped Presets as credentials (#5489)
    • ACTION REQUIRED: Headers for API operations listOpenstackServerGroups and listOpenstackSubnetPools have been renamed from Tenant, TenantID, Project, ProjectID to OpenstackTenant, OpenstackTenantID, OpenstackProject and OpenstackProjectID, respectively
  • Add API endpoints for VMware Cloud Director that allow using project-scoped Presets as credentials (#5512)
  • Add API endpoints for vSphere that allow using project-scoped Presets as credentials (#5508)
  • Add API endpoints for GKE that allow using project-scoped Presets as credentials (#11156)
  • Add API endpoints for AKS that allow using project-scoped Presets as credentials (#5736)
  • Add GET /api/v2/providers/eks/clusterroles endpoint to list EKS Cluster Roles (#10778)
  • Add GET /api/v2/providers/eks/noderoles endpoint to list EKS Worker Node Roles (#10939)
  • Add GET endpoint /api/v2/providers/aks/resourcegroups to list AKS resource groups (#10921)
  • Replace GET api/v2/providers/eks/noderoles endpoint with /api/v2/projects/{project_id}/kubernetes/clusters/{cluster_id}/providers/eks/noderoles endpoint to list EKS NodeRoles (#10975)
  • Add API endpoints to create service accounts and get associated kubeconfig (#11120)
    • GET, POST /api/v2/projects/{project_id}/clusters/{cluster_id}/serviceaccount
    • DELETE /api/v2/projects/{project_id}/clusters/{cluster_id}/serviceaccount/{namespace}/{service_account_id}
    • GET /api/v2/projects/{project_id}/clusters/{cluster_id}/serviceaccount/{namespace}/{service_account_id}/kubeconfig
  • Enhance cluster rbac to allow to bind service account to clusterRole and Role. (#11096) Following endpoint has been updated:
    • GET /api/v2/projects/{project_id}/clusters/{cluster_id}/bindings
    • POST /api/v2/projects/{project_id}/clusters/{cluster_id}/roles/{namespace}/{role_id}/bindings
    • DELETE /api/v2/projects/{project_id}/clusters/{cluster_id}/roles/{namespace}/{role_id}/bindings
    • GET /api/v2/projects/{project_id}/clusters/{cluster_id}/clusterbindings
    • POST /api/v2/projects/{project_id}/clusters/{cluster_id}/clusterroles/role_id/clusterbindings
    • DELETE /api/v2/projects/{project_id}/clusters/{cluster_id}/clusterroles/role_id/clusterbindings
  • KubeVirt: add new API endpoints to list instancetypes and preferences (#11085)
  • Add KubeVirt list images endpoint (#5566)
  • Add create endpoint for ApplicationDefinitions (#5307)
  • Add delete endpoint for ApplicationDefinitions (#5399)
  • Add api/v2/projects/<PROJECT>/clusters/<CLUSTER_ID>/serviceacount/<NAMESPACE>/<SA_ID>/permissions that returns permissions of the Service Account (#5394)
  • Add an admin API endpoint which shows the total resource quota allocation and usage (#5485)
  • Add the option to set autoscaler min and max replicas for a machine deployment through the KKP API. They are only relevant if the autoscaler addon is installed (#5361)
  • Endpoint /providers/{provider_name}/dc/{dc}/cluster was introduced to retrieve the default cluster spec for the given provider and datacenter (#5377)
  • Fix Openstack api/v1/providers/openstack/tenants API endpoint for some cases where “couldn’t get projects: couldn’t get tenants for region XX: couldn’t get identity endpoint: No suitable endpoint could be found in the service catalog.” was wrongly returned (#10968)
  • Add skip_kubelet_version_validation query param to PATCH api/v2/projects/<project>/clusters/<cluster> request in order to enable switching off kubelet version validation (#5738)

Bugfixes

  • Dark mode and general UI UX fixes (#5023)
  • Delete button is not shown for external clusters which are already deleted (#5054)
  • Fix API error in the extended disk configuration for provider Anexia (#5481)
  • Fix API error in extended disk configuration for provider Anexia (#11030)
  • Fix for listing Operating System Profiles for Equinix Metal (#4969)
  • The cluster details step form will be filled with default values when the user re-selects preset/credentials (#4975)
  • The KKP API/UI will now return partial results from requests to resources which are listed across seeds, as the broken/inaccessible seeds will now be skipped. The behaviour before was that the whole request fails (#5226)
  • Unset tunnelingAgentIP if cluster expose strategy is not set to Tunneling (#5528)
  • Fix issue in KKP API where deleting all datacenters from a Seed and then trying to add a new one would cause a panic (#10953)
  • Fix validation for cron expressions for Etcd backups and metering schedule (#5693)
  • Mark KubeVirt node affinity preset key as required (#5662)
  • Persist annotations when upgrading a cluster (#5666)
  • Remove dynamic kubelet config setting and set it to always disabled (#5700)

New Features

  • [Admin] Clicking Show All Projects toggle: The loading spinner is shown when all projects are fetched (#5041)
  • Add io2 and gp3 to AWS provider disk types list (#5449)
  • Add an option to restrict preset to projects (#5599)
  • Add functionality to edit initial values of Cilium application when Cilium plugin is selected (#5579)
  • Add new field to enter the instance types when add new MD (#4906)
  • Add support for OIDC provider logout URL (#5521)
  • Add support to unset default backup destination in seed (#5523)
  • Add support for service account creation and (cluster/namespace) binding (#5464)
  • Add support for using project-scoped Presets (#5539)
  • Add the machine types and disk types fields for GKE cluster creation (#4917)
  • Add TunnelingAgentIP into NetworkDefaults part of the cluster API (#5288)
  • Add update endpoint for ApplicationDefinitions (#5393)
  • Convert Operating System Image to a dropdown with options specific to selected operating system (#5568)
  • Display instance type and preference category instead of kind on cluster summary and node list details page (#5294)
  • Display machines count in cluster list (#5070)
  • External clusters on EKS now support assume role (#5199)
  • In the interface section of admin settings, Enable Kubernetes Dashboard checkbox will be disabled when either OIDCKubeCfgEndpoint or OpenIDAuthPlugin feature flags are disabled (#5250)
  • Introduced an option in admin settings to enforce custom disk for OpenStack Machines (#5266)
  • KubeVirt switch StorageClass config from annotation to DataCenter (#5569)
  • KubeVirt: remove kubevirt/vmflavors endpoints (#5309)
  • KubeVirt: split CSI driver deployment between user and infra cluster (#5318)
  • KubeVirt: switch from flavor to VirtualMachineInstanceType and VirtualMachinePreference (#5221)
  • Make Konnectivity generally available without feature gate (#5520)
  • New admin api endpoint for fetching seed’s details (#5213)
  • PodNodeSelector admission plugin: node labels with clusterDefaultNodeSelector namespace are enforced (#5013)
  • Remove Pod Affinity/Anti-affinity settings and add support to configure topology spread constraints in KubeVirt provider (#5296)
  • Replace flavor with instance type and preference in KubeVirt provider (#5289)
  • Show system applications on cluster details page to all users (#5535)
  • Support for configuring expose strategy and API server allow list for clusters (#5269)
  • Support for customization of cluster templates (#5295)
  • Support for managing tag creation for vSphere clusters (#5629)
  • Support for tag association for vSphere machines (#5636)
  • Support for using server groups with OpenStack (#5201)
  • Support to filter machines based on resources(CPU, RAM, GPU) per datacenter (#5164)
  • Update the states for aks, add the provisioning state and power state for aks clusters in the cluster detail page and in the list of machine deployments and in the machine deployment detail page and delete the labels in the machine deployment list for all providers (#5038)
  • Add new option under admin/interface page to enable/disable web terminal from cluster details page (#5186)
  • Allow user to select Node IAM role from dropdown list (#5016)
  • Provide options for autoscaling nodes (#5369)
New Features (EE)
  • Add an resource quota endpoint which given a provider node size and replica count, returns the calculation of what the projects resource quota usage would be and a message if the quota is exceeded.POST /api/v2/projects/{project_id}/quotacalculation (#5315)
  • The quota widget is shown on the external cluster list, wizard, and import dialog (#5145)
  • The quota widget will show a warning icon when the quota limit is exceeded. The quota widget is now visible on the clusters details and machine deployment details page (#5105)

Cleanup

  • Limit data when Listing AppDefs and AppInstalls and add GET endpoint for AppDefs (#5184)
  • KKP specific Nutanix categories (KKPProject and KKPCluster) are hidden in API responses (#5282)
  • Remove support for SLES operating system (#5529)
  • The initial KubermaticSetting’s ResourceFilter is changed from minCPU=1 to minCPU=2. This only affects new KKP installations and just the API/UI. The initial values can be changed as always in the KKP UI Admin settings, or in the KubermaticSetting globalsettings resource manually. The change was done to help avoid the creation of clusters which are too small to function properly (#5331)

Design

  • Add a Back button in the import external cluster dialog (#5063)
  • Add edit product button in project overview page, rearrangement for the create resource list (#5536)
  • Add new section in admin settings to view seed configurations (#5285)
  • Change the showing advance settings button to expanding arrow in the edit md dialog and rearrange some fields in it (#5182)
  • Cluster Template (Creation, Edit and Customize) UX enhancement (#5497)
  • Delete button on cluster details page is disabled if cluster is being deleted (#5049)
  • Display list of groups on project overview page in enterprise edition + has permission of owners (#5171)
  • Redesign the cluster summary step (#5242)
  • Show empty state project card placeholder when no project exists (#5001)

Miscellaneous

  • The KKP API is run based on the Dashboard’s Docker image now (#11229)
  • Change primary branch from master to main (#5090)
  • Code and dependencies for API and Web have been split into dedicated modules (#5257)
  • While creating a cluster while using the KubeVirt provider, “ADVANCED DISK CONFIGURATION” will be expanded by default. Info text under “ADVANCED DISK CONFIGURATION” will stay visible after the user clicks the “Add local Disk” button. Validation is added to Custom local disks’ “name” and ADVANCED SCHEDULING SETTINGS “node affinity preset values” inputs (#5183)
  • Add extend session functionality to web terminal (#5353)
  • Update to Go 1.19.3 (#5188)
  • Hide KKP managed applications from add application dialog and only allow admin to view them (#5510)