mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Exponential back off when volume delete fails
This implements pv_controller to exponentially backoff when deleting a volume fails in Cloud API. It ensures that we aren't making too many calls to Cloud API
This commit is contained in:
@@ -71,7 +71,7 @@ func NewController(p ControllerParameters) *PersistentVolumeController {
|
||||
claims: cache.NewStore(cache.DeletionHandlingMetaNamespaceKeyFunc),
|
||||
kubeClient: p.KubeClient,
|
||||
eventRecorder: eventRecorder,
|
||||
runningOperations: goroutinemap.NewGoRoutineMap(false /* exponentialBackOffOnError */),
|
||||
runningOperations: goroutinemap.NewGoRoutineMap(true /* exponentialBackOffOnError */),
|
||||
cloud: p.Cloud,
|
||||
enableDynamicProvisioning: p.EnableDynamicProvisioning,
|
||||
clusterName: p.ClusterName,
|
||||
|
||||
Reference in New Issue
Block a user