• Kubernetes Submit Queue's avatar
    Merge pull request #61375 from satyasm/cloud-cidr-bound-retries · 0ab01d19
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 60455, 61365, 61375, 61597, 61491). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Fix #61363, Bounded retries for cloud allocator.
    
    **What this PR does / why we need it**:
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #61363
    
    **Special notes for your reviewer**:
    Changed the tracking of nodesInProcessing from a set to map[string]int so that we can count the
    number of times we re-process the node and not re-queue in case updateMaxRetries exceeded.
    
    **Release note**:
    
    ```release-note
    Bound cloud allocator to 10 retries with 100 ms delay between retries.
    ```
    0ab01d19
Name
Last commit
Last update
..
cidrset Loading commit data...
sync Loading commit data...
test Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
adapter.go Loading commit data...
cidr_allocator.go Loading commit data...
cloud_cidr_allocator.go Loading commit data...
cloud_cidr_allocator_test.go Loading commit data...
controller.go Loading commit data...
controller_test.go Loading commit data...
doc.go Loading commit data...
range_allocator.go Loading commit data...
range_allocator_test.go Loading commit data...
timeout.go Loading commit data...
timeout_test.go Loading commit data...