Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for controllerScale (0.15 sec)

  1. pkg/controller/disruption/disruption.go

    			if controllerNScale != nil {
    				controllerScale[controllerNScale.UID] = controllerNScale.scale
    				foundController = true
    				break
    			}
    		}
    		if !foundController {
    			err = fmt.Errorf("found no controllers for pod %q", pod.Name)
    			return
    		}
    	}
    
    	// 2. Add up all the controllers.
    	expectedCount = 0
    	for _, count := range controllerScale {
    		expectedCount += count
    	}
    
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
Back to top