kubernetes/pkg/controller/nodeipam/ipam
Aditi Gupta f58d1e101f refactor(controller): Use WithContext variants in cloud node controllers
This change refactors the cloud-specific versions of the node lifecycle
and node IPAM controllers to use a context.Context for cancellation and
contextual logging, replacing the legacy stopCh pattern.

This is a follow-up to PR #133985, where these controllers were
separated out due to their use in the legacy Cloud Controller Manager
(CCM).

It is a known issue that the CCM's startup logic does not pass the
controller name via the context. This change proceeds with the
refactoring to unify the cancellation logic across controllers, while
acknowledging that contextual logs will be less detailed when these
controllers are run in the CCM.

Signed-off-by: Aditi Gupta <aditigpta@google.com>
2025-09-17 00:17:38 -07:00
..
cidrset cidrset, multicidrset: directly use getIndexForIP method 2023-05-11 10:53:03 +02:00
sync Migrated pkg/controller/volume|util|replicaset|nodeipam to contextual logging 2023-07-06 07:39:52 +08:00
test Introduce MultiCIDRRangeAllocator 2022-08-06 00:10:39 +00:00
cidr_allocator.go drop unused code pointed out by linter 2024-05-01 09:03:57 -04:00
controller_test.go Remove providerless tag in controller_test.go 2024-01-08 07:03:49 -05:00
doc.go Generate and format files 2022-07-26 13:14:05 -04:00
OWNERS update sig-network reviewers/approvers on controller manager 2022-09-19 10:34:39 +02:00
range_allocator.go refactor(controller): Use WithContext variants in cloud node controllers 2025-09-17 00:17:38 -07:00
range_allocator_test.go Fix linting issue in test 2024-11-19 12:20:02 +02:00
timeout.go
timeout_test.go