v1.14.0
Release Notes
These release notes describe all changes since the previous minor release, v1.13.0, not since the most recent 1.13.x patch. Some of the fixes and enhancements listed below were also delivered in the intervening v1.13.x patch releases, and are repeated here to provide a complete record of what changed between 1.13.0 and 1.14.0.
New Features & Enhancements
Zone snapshot and restore
- Zone export and import are now supported on KVM and on Xen PV, in addition to Xen PVH.
- Xen PV zones can now be suspended and resumed.
- Added
protect-ctl zone replicate, which makes one or more copies of a zone by fork or by export and import. - KVM zones can now be restored as Kubernetes pods.
- Zone export and import no longer require a feature flag. The
snapshot-v0flag has been removed.
Fractional CPU limits
- Zones can now have a fractional CPU limit, such as
0.25or1500m, enforced by the hypervisor. Set it withprotect-ctl zone launch --cpu-limitand change it on a running zone withprotect-ctl zone update-resources --cpu-limit. See the CLI reference. docker run --cpusnow caps the zone at the exact CPU limit instead of rounding up to whole vCPUs.- Kubernetes pods can hold their zone to the pod’s CPU limit. This is off by default: set
[cpu] zone-limit = trueincri.tomlfor protect-cri, orEDERA_SHIM_CPU_ZONE_LIMIT=1in containerd’s environment for the containerd shim.
Graviton and ARM64 support
- Xen installs on Graviton4 now boot through Edera’s Sprout bootloader instead of GRUB.
- GPU scrubbing now runs on aarch64 hosts.
Kubernetes
- Added support for pods with user namespaces (
hostUsers: false). - Pods can be restored from a zone snapshot as a new pod that kubelet manages, with protect-cri and the containerd shim. Configurable via the
[restore]section ofdaemon.toml. - The containerd shim now keeps a pod’s disk-backed
emptyDirvolumes on a disk image inside the zone by default. Set thedev.edera/empty-dir-backend: hostannotation to keep them on a host share. - The containerd shim now supports containerd’s EROFS snapshotter. Opt-in.
Core
- Userspace zone networking (
protect-vif) is now the default for all zones, and thevif-protect-network-v0feature flag has been removed. See Upgrade notes. - Improved
protect-vifnetwork throughput. Configurable via[network] static-grants. - Added CPU pinning on KVM.
- Zones now have an explicit loss policy that controls whether the daemon recreates or destroys them after a reboot. Set it with
protect-ctl zone launch --loss-policy. - Scratch disk images can be fully preallocated at zone launch. Configurable via
[zone] scratch-disk-preallocate. - Unprivileged workloads no longer get access to the zone’s
/devand cgroup filesystem. - Workloads now get
/dev/nullfor any standard stream they did not request, instead of the zone console. xenstoredand the Xen 9pfs and vif device processes now run sandboxed with Landlock and seccomp.- Improved
xenstoredreliability, including recovering clients when the xenstore connection is lost.
Observability
- Zone metrics now include
/proc/schedstatand pressure stall information. See the metrics reference for details.
Installer
- On x86 Xen hosts, the installer now sizes dom0 memory with Xen’s
dom0_mem=lncurve by default, and dom0 can grow at boot into the room the host has. - The installer now runs
edera-check preinstallas its preflight check, and saves a report to/tmpwhen it fails. - The installer now warns and installs over an existing installation.
Tools
- Added
protect-ctl zone ps, which lists a zone’s processes, including a tree view and kernel threads. - Added
protect-ctl zone kernel-events network, which streams a zone’s TCP and UDP events. Syscall events moved toprotect-ctl zone kernel-events syscalls. See Upgrade notes.
Bug Fixes
Kubernetes
- Fixed containers in a pod not sharing a PID namespace.
- Fixed
SupplementalGroupsPolicy: Strictnot being honored. - Fixed OCI
maskedPathsandreadonlyPathsnot being honored by the containerd shim. - Fixed
kubectl port-forwardnot reaching pods run through the containerd shim. - Fixed container-level CPU, memory, and I/O stats reporting zone-wide values, and stats being empty before the zone’s first metrics report.
- Fixed
volumeDevicesblock volumes not attaching to privileged pods through the containerd shim. - Fixed initial zone sizing exceeding the pod’s limits in the containerd shim.
- Fixed the Edera webhook mutating resources other than pods, and AKS webhook namespace exclusions not being rendered.
- Fixed stale state after a host reboot stranding pods and zones.
- Various CRI and containerd shim reliability improvements.
Core
- Fixed
docker rmreturning before the container’s zone was destroyed. - Fixed
docker execstream handling. - Fixed workloads in a recreated zone being reported as running after the zone was lost. They are now marked
Failed. - Fixed several issues where a zone’s state could be reverted, including a zone being destroyed going
Readyagain. - Fixed several zone export, import, and restore issues on Xen and KVM.
- Fixed vCPU NUMA pinning on Xen PV zones.
- Fixed exec’d processes not getting the workload’s OOM score.
- Fixed the daemon accepting a KVM zone memory raise it cannot apply.
- Fixed a SPIRE agent attaching to a SPIRE server that was not yet ready.
- Hardened object capability sessions against runaway allocations.
Observability
- Fixed
host_cpu_usage_seconds_total,zone_cpu_usage_seconds_total, andzone_hypervisor_cpu_usage_seconds_totalreporting the change since the last scrape instead of a running total. See Upgrade notes. - Fixed process
uid,gid,euid, andegidalways being reported as 0.
Installer
- Fixed the GRUB package on aarch64 hosts.
- Fixed Sprout bootloader files being copied to the ESP non-atomically.
Upgrade notes
The following changes in this release can break existing deployments when upgrading from the previous minor or patch release.
tls:// listeners require a client CA
A tls:// daemon listener now requires tls/client-ca.pem in the store, and the daemon will not start without it. Use the tls-insecure:// scheme for a listener with no client authentication.
Host namespaces and propagation refused
Pods that set hostPID or hostIPC, or that use Bidirectional mount propagation, are now refused instead of being run without the requested behavior. The containerd shim also refuses pods that set hostNetwork.
Userspace networking is required
All zones, including Kubernetes pods, now get their network devices from the protect-network service. It must be running on every Xen node.
Kernel event subcommands renamed
protect-ctl zone kernel-events stream and protect-ctl zone kernel-events list-syscalls have been replaced by protect-ctl zone kernel-events syscalls and its --list-syscalls flag.
CPU counters are cumulative
host_cpu_usage_seconds_total, zone_cpu_usage_seconds_total, and zone_hypervisor_cpu_usage_seconds_total now report a running total. Review dashboards and alerts that use these counters.
Removed metric
health_check_total has been removed.
Known Issues, regressions & workarounds
Helm chart installation re-installs components and doesn’t restart them
After a fresh Helm Chart installation of v1.14.0, the chart runs the installer again after the node’s reboot (after the install); after which the installer re-runs, reinstalling the components over the running services without restarting them. This leaves services active but unable to run Edera Pods.
Workaround is to restart the protect-network & protect-storage services (sudo systemctl restart protect-network protect-storage) after a reboot.