mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 14:42:05 +09:00
Replace the ephemeral emptyDisk volume with a CDI dataVolumeTemplate backed by the tenant's storageClass. This ensures kubelet certificates, kubeconfig, and containerd state survive VM reboots, preventing worker nodes from falling out of the cluster. Changes in the KubevirtMachineTemplate: - Add dataVolumeTemplates with a blank source disk sized by diskSize - Switch the volume reference from emptyDisk to dataVolume - Rename disk and volume from "ephemeral" to "disk-kubelet" Changes in the KubeadmConfigTemplate: - Rename filesystem label from "ephemeral" to "persistent" - Update all mount paths from /ephemeral to /persistent BREAKING CHANGE: Worker node VMs now use persistent PVC-backed disks instead of ephemeral emptyDisk volumes. Existing clusters will trigger a rolling replacement of worker nodes on upgrade. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Arsolitt <arsolitt@gmail.com>