- Home
- Release notes
- Addressed issues
Addressed issues#
Issues addressed in the MKE 4.2.2 release include:
Backup and restore#
- The
mkectl backupcommand no longer fails when a node inspec.hostsis unreachable over SSH. A backup now requires only one reachable controller. - Scheduled backups no longer write to the local disk when the network share
at
spec.backup.schedule.pathis not mounted. Previously, the backup wrote its archive to the local disk and recorded the MkeBackup asCompleted. MKE 4 now skips the backup, records it asSkipped, and retries at the next scheduled run. For more information, refer to Changes in behavior. - The
mkectl node addcommand no longer fails after a restore because of stale EtcdMember and ControlNode objects from the backup. - Adding controllers after a restore no longer fails because the validation pod cannot be scheduled on the tainted controllers.
- A single-node restore of a Calico eBPF cluster no longer stalls while waiting
for the API server. When you restore a Calico eBPF cluster on AWS, pass the
--bpf-dns-patchoption to themkectl restorecommand. For more information, refer to Changes in behavior. - The
mkectl node removecommand no longer writes its pre-removal backup archive when validation fails.
Upgrade and migration#
- The
mkectl upgradecommand no longer fails withdecoded password hash is not a bcrypt hashon clusters that use only LDAP authentication (spec.authentication.localUsers: false). - A failed upgrade on a cluster with custom API server TLS certificates now rolls back correctly. Previously, the rollback left the cluster with one controller.
- Upgrades from MKE 4.1.x on clusters with one controller and one worker no
longer time out while draining the worker on the
calico-apiserverPodDisruptionBudget. - Draining a controller after an upgrade from MKE 4.1.x no longer fails. Previously, the Envoy proxy pods matched two PodDisruptionBudgets and could not be evicted.
- The MKE 3 to MKE 4 upgrade no longer re-enables a disabled SAML
configuration, and no longer fails when the old SAML metadata URL is
unreachable from the
mkectlhost. - The MKE 3 to MKE 4 upgrade now migrates team and organization grants made in
the MKE 3 web UI to the corresponding organizations and teams. Previously, the migration bound these
grants to nonexistent users, and team and organization members lost that
access. Grants made with
kubectlor other tools are still affected. For more information, refer to Known issues: Upgrade from MKE 3/Upgrade does not correctly migrate MKE 3 organization and team access. - The
mkectl upgradecommand now compareshosts.yamlwith the MKE 3 Swarm and stops before it changes anything if they do not match. Previously, whenhosts.yamlleft out a Swarm node, the upgrade and the rollback usually failed. For more information, refer to Changes in behavior.
Child clusters#
- MKE 4 now rejects MkeChildConfig names longer than 45 characters for
child clusters. Previously, MKE 4 accepted these child clusters, but they
never became
Ready. - AWS and vSphere child clusters whose names share their first 44 characters no longer share a machine template. Previously, editing one child cluster deleted the machine template of the other.
- Child cluster worker nodes now roll when their bootstrap content changes.
- Child cluster bootstrap against a registry with a private CA no longer fails
when
HTTPS_PROXYorHTTP_PROXYis set to an empty value. - Child cluster nodes at MKE 4.2.2 now download oci-downloader from the image registry and no longer need to reach the management cluster API server. Child clusters at earlier versions keep the previous behavior. For more information, refer to Changes in behavior.
Networking and load balancing#
- A fresh installation now fails at the pre-flight checks if firewalld is active or enabled on a Linux node. Previously, the installation failed at the Verify CNI step, because firewalld rejected pod traffic between nodes. For more information, refer to Configure firewalld.
- A fresh installation through a bastion host on a Calico eBPF cluster no
longer fails with
ssh new session: EOF.
Security#
- The etcd maintenance gRPC port,
5557, now requires a client certificate signed by the etcd CA, and the etcd maintenance service no longer serves an HTTP API onlocalhost:18088. Previously, any pod in the cluster could reach the gRPC port without authentication, and the HTTP API required no authentication. Scripts that call the HTTP API stop working after the upgrade. For the replacement commands, refer to Changes in behavior. - The built-in
view,edit, andadminClusterRoles no longer grant access to Flux resources. Previously, a user with only the built-inviewrole could read themke-operatorHelmRelease in thek0rdentnamespace. Users and automation that manage Flux resources through the built-in roles now require an explicit role for the Flux API groups. For more information, refer to Changes in behavior. - The support dump no longer contains the admin password hash, and now masks Dex static OIDC client secrets.
- Write-only secret values no longer remain in the MkeConfig object after
commands other than
mkectl apply, or after any command run with--skip-addon-wait. - Upgrades from MKE 4.1.x no longer write the full MkeConfig, including the license token, to the log.
- With the authentication proxy enabled, an unreachable or misconfigured proxy
no longer causes the
authentication-dexpods to crash-loop until the addon wait times out. Themkectl applycommand now checks from every controller that the OIDC issuer is reachable through the proxy. For more information, refer to Changes in behavior. - Dex no longer restarts once on every new cluster.
- With custom TLS certificates and an IP address set as
spec.certificates.domainName, the kubeconfig that themkectl kubeconfigcommand generates now includes the k0s cluster CA in addition to the custom CA. The kubeconfig now works behind a load balancer and on a virtual IP. - MKE 4.2.2 fixes CVEs in the rbac-manager chart, in cert-manager, and in the AWS EBS CSI driver and its sidecars on child clusters.
mkectl and operations#
- Re-running the
mkectl applycommand after an interrupted apply no longer replaces the Secret encryption key and the client CA on the controllers. Previously, the API server could not decrypt existing Secrets after its next restart. Themkectl applycommand now resumes an interrupted installation with the existing key and CA. - When the k0s configuration changes, the
mkectl applyandmkectl upgradecommands now restart the k0s controllers one at a time. Previously, the commands restarted all controllers at once, which caused a brief control plane outage. - With the cloud provider enabled, the
mkectl applycommand no longer reinstalls k0s on every node, including on the first run after a restore. With the AWS cloud provider, it also no longer removes the cloud provider install flags. For more information, refer to Changes in behavior. - With the cloud provider enabled, the
mkectl node addcommand now installs k0s with the cloud provider install flags. Previously, with the AWS cloud provider, new nodes joined without the flags, and with an external cloud provider, the command reinstalled k0s on every host involved. With the AWS cloud provider, the nextmkectl applyrun taints nodes that joined without the flags so that the cloud controller manager initializes them. - The
mkectl node addcommand now accepts a clean host whose k0s data directory is a newly formatted volume that contains onlylost+found. - MKE 4 now rejects a
spec.etcd.tlsCipherSuiteslist that contains neitherTLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256norTLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256. Previously, the list passed validation, and etcd then failed to start.
MKE 4 Dashboard#
- The kubeconfig downloaded from the dashboard now uses the current Kubernetes API CA after you replace custom certificates.
- The CPU and memory values on the home page now match actual usage.
- The PODS widget now shows the correct count for each state when you select namespaces.
- The CA data fields on the SAML and LDAP settings pages now wrap long lines.
- The pending edit lock no longer shows a misleading message for resources other than Pods.