Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for minDomains (0.16 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/framework/plugins/podtopologyspread/scoring_test.go

    						MinDomains:         1,
    						NodeAffinityPolicy: v1.NodeInclusionPolicyHonor,
    						NodeTaintsPolicy:   v1.NodeInclusionPolicyIgnore,
    					},
    					{
    						MaxSkew:            1,
    						TopologyKey:        v1.LabelHostname,
    						Selector:           mustConvertLabelSelectorAsSelector(t, fooSelector),
    						MinDomains:         1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.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: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.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: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.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: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
Back to top