Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for minDomains (0.56 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/common.go

    				}
    			}
    
    			tsc := topologySpreadConstraint{
    				MaxSkew:            c.MaxSkew,
    				TopologyKey:        c.TopologyKey,
    				Selector:           selector,
    				MinDomains:         ptr.Deref(c.MinDomains, 1),   // If MinDomains is nil, we treat MinDomains as 1.
    				NodeAffinityPolicy: v1.NodeInclusionPolicyHonor,  // If NodeAffinityPolicy is nil, we treat NodeAffinityPolicy as "Honor".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    						MinDomains:         1,
    						NodeAffinityPolicy: v1.NodeInclusionPolicyHonor,
    						NodeTaintsPolicy:   v1.NodeInclusionPolicyIgnore,
    					},
    					{
    						MaxSkew:            1,
    						TopologyKey:        "node",
    						Selector:           mustConvertLabelSelectorAsSelector(t, fooSelector),
    						MinDomains:         1,
    						NodeAffinityPolicy: v1.NodeInclusionPolicyHonor,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	TpPairToMatchNum map[topologyPair]int
    }
    
    // minMatchNum returns the global minimum for the calculation of skew while taking MinDomains into account.
    func (s *preFilterState) minMatchNum(tpKey string, minDomains int32) (int, error) {
    	paths, ok := s.TpKeyToCriticalPaths[tpKey]
    	if !ok {
    		return 0, fmt.Errorf("failed to retrieve path by topology key")
    	}
    
    	minMatchNum := paths[0].MatchNum
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. pkg/scheduler/testing/wrappers.go

    	c := v1.TopologySpreadConstraint{
    		MaxSkew:            int32(maxSkew),
    		TopologyKey:        tpKey,
    		WhenUnsatisfiable:  mode,
    		LabelSelector:      selector,
    		MinDomains:         minDomains,
    		NodeAffinityPolicy: nodeAffinityPolicy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

                values:
                - valuesValue
              matchLabels:
                matchLabelsKey: matchLabelsValue
            matchLabelKeys:
            - matchLabelKeysValue
            maxSkew: 1
            minDomains: 5
            nodeAffinityPolicy: nodeAffinityPolicyValue
            nodeTaintsPolicy: nodeTaintsPolicyValue
            topologyKey: topologyKeyValue
            whenUnsatisfiable: whenUnsatisfiableValue
          volumes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

                values:
                - valuesValue
              matchLabels:
                matchLabelsKey: matchLabelsValue
            matchLabelKeys:
            - matchLabelKeysValue
            maxSkew: 1
            minDomains: 5
            nodeAffinityPolicy: nodeAffinityPolicyValue
            nodeTaintsPolicy: nodeTaintsPolicyValue
            topologyKey: topologyKeyValue
            whenUnsatisfiable: whenUnsatisfiableValue
          volumes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodTemplate.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top