mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-02-21 22:57:15 +00:00
csi: raise kubelet CSI init backoff to cover ~140s DNS delays
- bump init backoff to Duration=30ms, Factor=8 (Steps=6) to yield ~140s total - prevent kubelet restarts when DNS is blackholed and NSS must fall back to myhostname - keep CSI/CSINode initialization alive long enough to complete in ARO DNS-failure scenarios
This commit is contained in:
@@ -385,8 +385,8 @@ func initializeCSINode(host volume.VolumeHost, csiDriverInformer cache.SharedInd
|
||||
// after max retry steps.
|
||||
initBackoff := wait.Backoff{
|
||||
Steps: 6,
|
||||
Duration: 15 * time.Millisecond,
|
||||
Factor: 6.0,
|
||||
Duration: 30 * time.Millisecond,
|
||||
Factor: 8.0,
|
||||
Jitter: 0.1,
|
||||
}
|
||||
err = wait.ExponentialBackoff(initBackoff, func() (bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user