kubernetes/pkg/kubelet/volumemanager
Todd Neal 453f81d1ca
kubelet: pass context to VolumeManager.WaitFor*
This allows us to return with a timeout error as soon as the
context is canceled.  Previously in cases where the mount will
never succeed pods can get stuck deleting for 2 minutes.

In the Sync*Pod methods that call VolumeManager.WaitFor*, we
must filter out wait.Interrupted errors from being logged as
they are part of control flow, not runtime problems. Any
early interruption should result in exiting the Sync*Pod method
as quickly as possible without logging intermediate errors.
2023-04-17 11:53:28 -05:00
..
cache volume: use contextual logging 2023-03-14 08:37:30 +08:00
metrics volume: use contextual logging 2023-03-14 08:37:30 +08:00
populator Fix memory leak in kubelet volume_manager populator processedPods 2023-03-21 20:16:02 -07:00
reconciler Merge pull request #116134 from cvvz/fix-111933 2023-04-11 15:35:41 -07:00
OWNERS Update sig-storage owners file 2022-03-14 18:57:52 +00:00
volume_manager_fake.go kubelet: pass context to VolumeManager.WaitFor* 2023-04-17 11:53:28 -05:00
volume_manager_test.go kubelet: pass context to VolumeManager.WaitFor* 2023-04-17 11:53:28 -05:00
volume_manager.go kubelet: pass context to VolumeManager.WaitFor* 2023-04-17 11:53:28 -05:00