|
This is unreleased documentation for SUSE® Virtual Clusters v1.3.0 (Dev). |
SUSE Virtual Cluster v1.3.0 Release Highlights
New Features
-
Etcd snapshot and restore for virtual clusters — the new
EtcdSnapshotresource takes on-demand snapshots of the etcd datastore of a virtual cluster. You can store snapshots locally or in an S3-compatible object store, with optional compression. The newEtcdRestoreresource restores a cluster from one of those snapshots. See Creating Etcd Snapshots of a Virtual Cluster and Restoring a Virtual Cluster from an Etcd Snapshot. -
HCP mode is generally available — Hosted Control Plane (HCP) mode is no longer experimental, and
k3kcli cluster create --mode hcpno longer shows an experimental warning. See Creating an HCP Virtual Cluster. -
HCP provisioning from the Rancher UI — you can now select HCP as the mode when you create a virtual cluster or a VirtualClusterPolicy. HCP clusters have a new Registration tab with the command to register external worker nodes. See Creating an HCP Virtual Cluster.
-
Custom host schedulers in shared mode — virtual cluster pods can request a host cluster scheduler with the
k3k.io/host-scheduler-nameannotation. The scheduler must be listed in theallowedHostSchedulersfield of the Cluster or VirtualClusterPolicy. See Using Custom Host Schedulers in Shared Mode. -
LoadBalancer class for the expose Service — set
loadBalancerClassinexpose.loadBalancerto choose which load balancer implementation serves the virtual cluster API server. See Advanced Usage. -
EndpointSlice sync in shared mode — shared-mode virtual clusters can sync manually managed EndpointSlices, such as those of Services without a selector, to the host cluster. This sync is disabled by default and also requires Services sync to be enabled. See Resource Sync.
-
Set-based label selectors for synced resources — the new
labelSelectorfield supportsmatchLabelsandmatchExpressionsto filter synced resources. The equality-basedselectorfield is deprecated. See Resource Sync. -
kubeconfig context management in k3kcli —
k3kclinow adds a context to your current kubeconfig for each new virtual cluster, so you can switch clusters withkubectl config use-context. It removes the context when you delete the cluster. Writing a standalone kubeconfig file to the current directory is deprecated. Use--outto write the file to a chosen directory, or--no-outto skip it. The--config-nameflag is deprecated in favor of--out. -
k3kcli autocompletion for
cluster update—k3kcli cluster updatenow supports shell autocompletion, like the other commands. -
Bound service account tokens in shared mode — workloads in shared-mode virtual clusters now receive bound service account tokens, with an issuer and automatic refresh, instead of legacy tokens.
-
Ingress status sync in shared mode — the load balancer status that the host ingress controller sets on a synced Ingress is now copied back to the Ingress in the virtual cluster.
-
Policy default priority class for server and agent pods — when a VirtualClusterPolicy sets
defaultPriorityClass, the server, agent and restore pods of its virtual clusters use that priority class. It overrides thepriorityClassof the Cluster. See VirtualClusterPolicy: Concepts. -
K3s version in the HCP join instructions — the worker node join instructions that
k3kcliprints for HCP clusters now setINSTALL_K3S_VERSIONto match the control plane version.
Core Improvements
-
StatefulSet for virtual mode agents — agents in virtual mode are now deployed as a StatefulSet, which gives them stable node names. Existing clusters that use a Deployment keep working, and k3k emits a deprecation event for them.
-
Improved LoadBalancer exposure — the LoadBalancer address is now added to the server TLS Subject Alternative Names (SANs) and used in the generated kubeconfig. A custom
serverPortis added as an extra port on the Service instead of replacing port 443. -
Readiness probe for the shared-mode agent — the shared-mode agent now has a readiness probe and monitors its connection to the virtual cluster API server. This makes the agent more reliable, for example, after a snapshot restore.
-
Refreshed Rancher UI forms — the virtual cluster and policy forms use the refreshed Rancher UI components and include more detailed field descriptions. The agent count field is shown only for virtual mode.
-
Version-matched k3k installation from the Rancher UI — the btn:[Install K3k] button now installs the newest stable k3k version that matches the major and minor version of the UI extension.
Bug Fixes & Security
-
Fixed mount propagation in virtual mode — pods that use
HostToContainerorBidirectionalmount propagation, such as node-exporter, now start in virtual-mode clusters. -
Fixed
kubectl logsandkubectl execon HCP clusters with multiple servers. -
Fixed
kubectl port-forwardin shared mode. -
Fixed the Service CIDR lookup in shared mode on Kubernetes 1.33 and later — the Service sync now works on host clusters that use a non-default Service range, such as Amazon EKS.
-
Fixed the
--cluster-cidrcontroller flag being ignored for clusters without a VirtualClusterPolicy — the isolation NetworkPolicy now excludes the configured cluster CIDR. -
Fixed event syncer errors for deleted pods in shared mode.
-
Fixed virtual Services and Ingresses stuck in deletion when the host copy was already gone.
-
Fixed sync configuration of an applied VirtualClusterPolicy being ignored — the policy sync settings now take precedence over the settings of the Cluster.
-
Fixed the VirtualClusterPolicy
nodeSelectornot being applied to virtual cluster pods. -
Fixed PriorityClass sync failing on updates in shared mode.
-
Fixed the server liveness probe in high-availability clusters — a server whose etcd member was removed now restarts instead of staying
NotReady. -
Fixed the policy showing as "No policy" on the cluster edit page in the Rancher UI.
-
Fixed section background colors changing in the Rancher UI after installing the UI extension.
-
Security updates — updated Go, Kubernetes, etcd and K3s versions, and dependencies with known vulnerabilities. These include
golang.org/x/crypto,golang.org/x/net,google.golang.org/grpc, OpenTelemetry andgithub.com/klauspost/compress.
Full Changelogs: k3k v1.3.0 | UI Extension v1.3.0