Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for zoneIndex (0.13 sec)

  1. pkg/scheduler/internal/cache/node_tree.go

    		if numExhaustedZones >= len(nt.zones) { // all zones are exhausted.
    			return nodesList, errors.New("all zones exhausted before reaching count of nodes expected")
    		}
    		for zoneIndex := 0; zoneIndex < len(nt.zones); zoneIndex++ {
    			na := nt.tree[nt.zones[zoneIndex]]
    			if nodeIndex >= len(na) { // If the zone is exhausted, continue
    				if nodeIndex == len(na) { // If it is the first time the zone is exhausted
    					numExhaustedZones++
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. pkg/config/validation/agent/validation.go

    			errs = AppendValidation(errs, fmt.Errorf("locality lb failover region should not contain '*' wildcard"))
    		}
    	}
    
    	return
    }
    
    const (
    	regionIndex int = iota
    	zoneIndex
    	subZoneIndex
    )
    
    func validateLocalities(localities []string) error {
    	regionZoneSubZoneMap := map[string]map[string]map[string]bool{}
    	for _, locality := range localities {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top