• Kubernetes Submit Queue's avatar
    Merge pull request #41510 from kargakis/fix-progress-check-requeue · 734dfcb3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 41714, 41510, 42052, 41918, 31515)
    
    controller: fix requeueing progressing deployments
    
    Drop the secondary queue and add either ratelimited or after the
    required amount of time that we need to wait directly in the main
    queue. In this way we can always be sure that we will sync back
    the Deployment if its progress has yet to resolve into a complete
    (NewReplicaSetAvailable) or TimedOut condition.
    
    This should also simplify the deployment controller a bit.
    
    Fixes https://github.com/kubernetes/kubernetes/issues/39785. Once this change soaks, I will move the test out of the flaky suite.
    
    @kubernetes/sig-apps-misc
    734dfcb3
deployment_controller.go 26.7 KB