Repository navigation
Upgrade Notes
- Helm Chart Database Persistence: The Helm chart now mounts
/var/run/dranetfrom the host to preserve pod device configuration (dranet.db) across DRANET DaemonSet pod restarts.- Action required: Before upgrading from an earlier Helm chart that did not mount
/var/run/dranet, stop existing pods that use devices managed by DRANET so their state is not orphaned inside the old container filesystem. (#280, @OguzPastirmaci)
- Action required: Before upgrading from an earlier Helm chart that did not mount
- Provider Webhook API —
DeviceIdentifiers.Name:GetDeviceAttributes,GetDeviceConfig,GetProfileConfig, andReleaseProfileConfignow pass the Linux network interface name inDeviceIdentifiers.Name(or an empty string when unavailable) instead of the normalized DRA device name.- Action required: External webhook providers that rely on the previous
DeviceIdentifiers.Nameformat must be updated to handle Linux interface names and empty values. (#279, #336, @npinaeva, @Bowser1704)
- Action required: External webhook providers that rely on the previous
- Profile Provider Webhook API —
GetProfileConfigRequest Payload:POST /GetProfileConfignow sends the completeResourceClaimobject in theclaimfield instead of onlyclaim_uid(POST /ReleaseProfileConfigremains UID-based).
Changes by Kind
API Change
- Added
interface.type(Passthroughby default, orIPVLAN) to select how an allocated network device is presented to a Pod, andinterface.addressing(Static,DHCP, orUnnumbered) to explicitly select the IP configuration strategy. The booleaninterface.dhcpfield is now deprecated in favor ofinterface.addressing: DHCP(and remains backward-compatible by normalizingdhcp: truewhenaddressingis unset). (#241, @ngcxy) - Added optional
arpIgnoreandarpAnnouncesettings underinterfacefor configuring ARP behavior on network devices assigned to Pods. (#277, @OguzPastirmaci) - Added optional
acceptRAsetting underinterfaceto configure IPv6 Router Advertisement (accept_ra) acceptance on Pod network interfaces. (#341, @OguzPastirmaci) - Merged
NetworkConfigobjects (combining userResourceClaimparameters with cloud provider device and profile configs) are now defaulted and validated after merging, rather than only validating user parameters prior to the merge. (#317, @dkennetzoracle)
Feature
- IPVLAN Subinterface Support: Added support for
interface.type: IPVLAN, which keeps the parent network device in the host network namespace and provisions an IPVLAN (L2 bridge mode) subinterface inside the Pod. This enables sharing NICs or using interfaces that cannot be moved into a Pod namespace (such as LACP bonds), with node-local IPAM, GCE subinterface IP allocation, and automatic source-based routing. Requires the RDMA subsystem to be in shared netns mode. (#241, @ngcxy) - Applied configured MTU, GSO/GRO sizes, and ARP settings (
arpIgnore,arpAnnounce) toIPVLANsubinterfaces, while rejecting unsupported hardware address and DHCP configurations onIPVLANsubinterfaces. (#326, @OguzPastirmaci) - CoreWeave Cloud Provider (CKS): Added CoreWeave Kubernetes Service (CKS) cloud provider support (
--cloud-provider-hint=CKS) for node discovery and InfiniBand topology attributes (fabric, superpod, leafgroup, rack, speed, instance type, and leaf switch). (#302, @anson627) - Oracle Cloud (OKE) Enhancements:
- Extended the OKE cloud provider to publish
oke.dra.net/shape,oke.dra.net/rdmaFabricIpv6, andoke.dra.net/rdmaFabricPlanesattributes, refresh metadata every 5 minutes, and stay active when IMDS is not yet ready at startup. (#325, @OguzPastirmaci) - Added the
oke-rdmaprofile for OKE IPv4 RoCE NICs, provisioning IPVLAN subinterfaces with deterministic addresses and per-NIC routing. (#340, #354, @OguzPastirmaci) - Added native InfiniBand support to the OKE cloud provider, keeping InfiniBand RDMA NICs on the host and exposing them to Pods as RDMA-only devices. (#345, @OguzPastirmaci)
- Added the
--cloud-provider-optionsflag andargs.cloudProviderOptionsHelm value, includingoke.rdma-child-ipv4-cidrto configure the child IPv4 address range for theoke-rdmaprofile (default10.208.0.0/12). (#357, @OguzPastirmaci)
- Extended the OKE cloud provider to publish
- Alibaba Cloud RDMA Bonds: RDMA bonds on Alibaba Cloud EFLO nodes are now provisioned to Pods as
IPVLANsubinterfaces. (#312, @Bowser1704) - Azure Subnet Discovery: Azure network devices now expose their IPv4 subnet CIDR via the
azure.dra.net/ipv4SubnetResourceSlice attribute when matching IMDS subnet metadata is available. (#335, @anson627) - Standardized DRA NUMA Attribute: Published the standardized
resource.kubernetes.io/numaNodeattribute alongsidedra.net/numaNode, with support for list-valued NUMA attributes behind the--feature-gates=DRAListTypeAttributes=truefeature gate. (#283, @killianmuldoon) - RoCE/IB VF RDMA Attribute: Broadcom and Mellanox RoCE SR-IOV VFs with an active netdev now publish the
dra.net/rdmaDeviceattribute (the kernel RDMA link name, e.g.,bnxt_re12) in ResourceSlices, previously published only for IB-only devices. (#260, @cabrinha) - DHCP Lease Release: DRANET now sends a
DHCPRELEASEpacket when a claim usingaddressing: DHCP(ordhcp: true) is unprepared, freeing the address on the DHCP server immediately instead of holding it for the remainder of the lease lifetime. (#304, @yeonghoo2) - Helm Chart Enhancements: Added support for
extraVolumesandextraVolumeMounts(#286), as well as values fordbPath,profileProvider,webhookURL,featureGates, thewebhookcloud provider hint, and service account annotations (#280). (@OguzPastirmaci) - Local Checkpoint Database Versioning: Implemented schema versioning and transactional migrations (
meta/schemaVersion) for the local bbolt checkpoint database. (#314, @aojea)
Bug or Regression
- Fixed
PrepareResourceClaimto be idempotent per device so kubelet retries reuse already-prepared device configurations and roll back cleanly on partial failure instead of leaking node-local IPAM addresses. (#339, @ngcxy) - Fixed Pod creation failing with
EINVALwhen a host route copied into the Pod has a preferred source (prefsrc) that is not assigned to the Pod (e.g., when using DHCP or custom claim addresses). (#318, @yeonghoo2) - Fixed
NodePrepareResourcesfailing withprotocol not supportedon nodes where thexfrm_userornfnetlinkkernel modules cannot be loaded by opening only aNETLINK_ROUTEsocket for default netlink handles. (#330, @yeonghoo2) - Prevented
ResourceSlicecreation failures when PCI device or vendor names exceed Kubernetes' 64-byte string attribute limit by truncating the publisheddra.net/pciDeviceanddra.net/pciVendorattribute values. (#300, #313, @aggarwal0009) - Fixed RDMA character device paths accumulating across devices when a single
ResourceClaimallocates multiple RDMA devices. (#269, @gauravkghildiyal) - Suppressed false
"Failed to delete subinterface"error logs during cleanup when the Pod network namespace path has already been removed. (#329, @OguzPastirmaci) - Fixed a race and unintended in-place mutation of stored Pod routes by sorting a copy of the route slice in
applyRoutingConfig. (#290, @thc1006) - Bumped
insomniacslk/dhcpto fix a potential panic innclient4when reading malformed short IPv4/UDP frames during DHCP lease acquisition. (#291, @thc1006)
Documentation
- Added a CoreWeave CKS B200 InfiniBand NCCL example. (#303, @anson627)
- Synced the Helm chart
README.mdwithvalues.yamland schema keys. (#306, @fmuyassarov) - Updated quick-start documentation for Kubernetes v1.35+ where DRA is enabled by default. (#319, @rikatz)
Other (Cleanup or Flake)
- Bumped Kubernetes dependencies to
v1.37.0. (#305, @killianmuldoon)
New Contributors
- @ianchakeres made their first contribution in #262
- @OguzPastirmaci made their first contribution in #268
- @cabrinha made their first contribution in #274
- @npinaeva made their first contribution in #279
- @killianmuldoon made their first contribution in #283
- @aggarwal0009 made their first contribution in #300
- @rikatz made their first contribution in #319
- @yeonghoo2 made their first contribution in #318
Full Changelog: v1.4.0...v1.5.0