kubernetes/pkg/controller/nodelifecycle
Christopher Broglie 3c88de52c8 controller/nodelifecycle: Make monitorNodeHealth process nodes concurrently
Marking the pods not ready on a node requires looping over them and
updating each pod's status one at a time. This is performed serially,
and can take a while if we're processing each node serially as well.

Since the time is spent waiting on io, there's an opportunity to go
faster by processing multiple nodes concurrently. This change modifies
the loop to process nodes in parallel, using the same number of workers
as doNodeProcessingPassWorker.

This change also introduces histogram metrics to better observe
monitorNodeHealth.
2023-01-11 12:34:39 -08:00
..
config OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
scheduler Fix race conditions 2022-11-14 10:11:26 +01:00
metrics.go controller/nodelifecycle: Make monitorNodeHealth process nodes concurrently 2023-01-11 12:34:39 -08:00
node_lifecycle_controller_test.go controller/nodelifecycle: Make monitorNodeHealth process nodes concurrently 2023-01-11 12:34:39 -08:00
node_lifecycle_controller.go controller/nodelifecycle: Make monitorNodeHealth process nodes concurrently 2023-01-11 12:34:39 -08:00
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00