Skip to content

v1.5.0

Latest

Choose a tag to compare

@gauravkghildiyal gauravkghildiyal released this 03 Oct 17:47
· 123 commits to main since this release
d0a3f5a

Upgrade Notes

  • Helm Chart Database Persistence: The Helm chart now mounts /var/run/dranet from 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)
  • Provider Webhook API — DeviceIdentifiers.Name: GetDeviceAttributes, GetDeviceConfig, GetProfileConfig, and ReleaseProfileConfig now pass the Linux network interface name in DeviceIdentifiers.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.Name format must be updated to handle Linux interface names and empty values. (#279, #336, @npinaeva, @Bowser1704)
  • Profile Provider Webhook API — GetProfileConfig Request Payload: POST /GetProfileConfig now sends the complete ResourceClaim object in the claim field instead of only claim_uid (POST /ReleaseProfileConfig remains UID-based).
    • Action required: Custom Profile Provider webhook implementations must be updated before or together with DRANET (and may need to temporarily accept both formats during a rolling upgrade). (#282, @kanlkan)

Changes by Kind

API Change

  • Added interface.type (Passthrough by default, or IPVLAN) to select how an allocated network device is presented to a Pod, and interface.addressing (Static, DHCP, or Unnumbered) to explicitly select the IP configuration strategy. The boolean interface.dhcp field is now deprecated in favor of interface.addressing: DHCP (and remains backward-compatible by normalizing dhcp: true when addressing is unset). (#241, @ngcxy)
  • Added optional arpIgnore and arpAnnounce settings under interface for configuring ARP behavior on network devices assigned to Pods. (#277, @OguzPastirmaci)
  • Added optional acceptRA setting under interface to configure IPv6 Router Advertisement (accept_ra) acceptance on Pod network interfaces. (#341, @OguzPastirmaci)
  • Merged NetworkConfig objects (combining user ResourceClaim parameters 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) to IPVLAN subinterfaces, while rejecting unsupported hardware address and DHCP configurations on IPVLAN subinterfaces. (#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, and oke.dra.net/rdmaFabricPlanes attributes, refresh metadata every 5 minutes, and stay active when IMDS is not yet ready at startup. (#325, @OguzPastirmaci)
    • Added the oke-rdma profile 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-options flag and args.cloudProviderOptions Helm value, including oke.rdma-child-ipv4-cidr to configure the child IPv4 address range for the oke-rdma profile (default 10.208.0.0/12). (#357, @OguzPastirmaci)
  • Alibaba Cloud RDMA Bonds: RDMA bonds on Alibaba Cloud EFLO nodes are now provisioned to Pods as IPVLAN subinterfaces. (#312, @Bowser1704)
  • Azure Subnet Discovery: Azure network devices now expose their IPv4 subnet CIDR via the azure.dra.net/ipv4Subnet ResourceSlice attribute when matching IMDS subnet metadata is available. (#335, @anson627)
  • Standardized DRA NUMA Attribute: Published the standardized resource.kubernetes.io/numaNode attribute alongside dra.net/numaNode, with support for list-valued NUMA attributes behind the --feature-gates=DRAListTypeAttributes=true feature gate. (#283, @killianmuldoon)
  • RoCE/IB VF RDMA Attribute: Broadcom and Mellanox RoCE SR-IOV VFs with an active netdev now publish the dra.net/rdmaDevice attribute (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 DHCPRELEASE packet when a claim using addressing: DHCP (or dhcp: 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 extraVolumes and extraVolumeMounts (#286), as well as values for dbPath, profileProvider, webhookURL, featureGates, the webhook cloud 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 PrepareResourceClaim to 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 EINVAL when 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 NodePrepareResources failing with protocol not supported on nodes where the xfrm_user or nfnetlink kernel modules cannot be loaded by opening only a NETLINK_ROUTE socket for default netlink handles. (#330, @yeonghoo2)
  • Prevented ResourceSlice creation failures when PCI device or vendor names exceed Kubernetes' 64-byte string attribute limit by truncating the published dra.net/pciDevice and dra.net/pciVendor attribute values. (#300, #313, @aggarwal0009)
  • Fixed RDMA character device paths accumulating across devices when a single ResourceClaim allocates 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/dhcp to fix a potential panic in nclient4 when 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.md with values.yaml and schema keys. (#306, @fmuyassarov)
  • Updated quick-start documentation for Kubernetes v1.35+ where DRA is enabled by default. (#319, @rikatz)

Other (Cleanup or Flake)

New Contributors

Full Changelog: v1.4.0...v1.5.0