Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxScaledDown (0.11 sec)

  1. pkg/controller/deployment/rolling.go

    	minAvailable := *(deployment.Spec.Replicas) - maxUnavailable
    	newRSUnavailablePodCount := *(newRS.Spec.Replicas) - newRS.Status.AvailableReplicas
    	maxScaledDown := allPodsCount - minAvailable - newRSUnavailablePodCount
    	if maxScaledDown <= 0 {
    		return false, nil
    	}
    
    	// Clean up unhealthy replicas first, otherwise unhealthy replicas will block deployment
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top