Skip to content

ipam: Decouple ENI device configuration from CRD allocator#45027

Merged
pippolo84 merged 1 commit intomainfrom
pr/HadrienPatte/ENIDeviceConfigurator
Mar 31, 2026
Merged

ipam: Decouple ENI device configuration from CRD allocator#45027
pippolo84 merged 1 commit intomainfrom
pr/HadrienPatte/ENIDeviceConfigurator

Conversation

@HadrienPatte
Copy link
Copy Markdown
Member

Extract ENI device configuration into a standalone CiliumNode observer that runs independently of the IPAM allocator. Previously, configureENIDevices was called from nodeStore.updateLocalNodeResource, coupling ENI network device setup to the CRD allocator code path.

The new observer follows the same job.Observer pattern used by startLocalNodeAllocCIDRsSync in the multi-pool allocator. It watches CiliumNode updates and configures newly attached ENI devices regardless of which allocator is active.

Relates to cilium/design-cfps#87

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Mar 27, 2026
@HadrienPatte HadrienPatte added area/eni Impacts ENI based IPAM. area/ipam IP address management, including cloud IPAM release-note/misc This PR makes changes that have no direct user impact. labels Mar 27, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Mar 27, 2026
@HadrienPatte
Copy link
Copy Markdown
Member Author

/test

@HadrienPatte HadrienPatte force-pushed the pr/HadrienPatte/ENIDeviceConfigurator branch from 412548a to 592ee1e Compare March 27, 2026 22:28
@cilium-ariane
Copy link
Copy Markdown

cilium-ariane bot commented Mar 27, 2026

/test

@HadrienPatte HadrienPatte force-pushed the pr/HadrienPatte/ENIDeviceConfigurator branch from 592ee1e to 1ac0d93 Compare March 28, 2026 12:17
@HadrienPatte
Copy link
Copy Markdown
Member Author

/test

@HadrienPatte HadrienPatte changed the title ipam: decouple ENI device configuration from CRD allocator ipam: Decouple ENI device configuration from CRD allocator Mar 28, 2026
@HadrienPatte HadrienPatte marked this pull request as ready for review March 28, 2026 18:00
@HadrienPatte HadrienPatte requested a review from a team as a code owner March 28, 2026 18:00
@HadrienPatte HadrienPatte requested a review from pippolo84 March 28, 2026 18:00
Extract ENI device configuration into a standalone CiliumNode observer
that runs independently of the IPAM allocator. Previously,
`configureENIDevices` was called from
`nodeStore.updateLocalNodeResource`, coupling ENI network device setup to
the CRD allocator code path.

The new observer follows the same `job.Observer` pattern used by
`startLocalNodeAllocCIDRsSync` in the multi-pool allocator. It watches
CiliumNode updates and configures newly attached ENI devices regardless
of which allocator is active.

Relates to [cilium/design-cfps#87](cilium/design-cfps#87)

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
@HadrienPatte HadrienPatte force-pushed the pr/HadrienPatte/ENIDeviceConfigurator branch from 1ac0d93 to ce15d92 Compare March 30, 2026 14:21
@HadrienPatte HadrienPatte requested a review from pippolo84 March 30, 2026 14:26
@HadrienPatte
Copy link
Copy Markdown
Member Author

/test

Copy link
Copy Markdown
Member

@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@pippolo84 pippolo84 added this pull request to the merge queue Mar 31, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 31, 2026
Merged via the queue into main with commit cfa7159 Mar 31, 2026
592 of 595 checks passed
@pippolo84 pippolo84 deleted the pr/HadrienPatte/ENIDeviceConfigurator branch March 31, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/eni Impacts ENI based IPAM. area/ipam IP address management, including cloud IPAM ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants