Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for topologySpreadConstraint (0.56 sec)

  1. pkg/api/pod/util_test.go

    			enabled: false,
    			oldPodSpec: &api.PodSpec{
    				TopologySpreadConstraints: []api.TopologySpreadConstraint{},
    			},
    			podSpec: &api.PodSpec{
    				TopologySpreadConstraints: []api.TopologySpreadConstraint{},
    			},
    			wantPodSpec: &api.PodSpec{
    				TopologySpreadConstraints: []api.TopologySpreadConstraint{},
    			},
    		},
    		{
    			name:    "feature disabled, only old pod use NodeAffinityPolicy field",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    				Obj(),
    			defaultConstraints: []v1.TopologySpreadConstraint{
    				{MaxSkew: 2, TopologyKey: "node", WhenUnsatisfiable: v1.DoNotSchedule},
    			},
    			objs: []runtime.Object{
    				&v1.Service{Spec: v1.ServiceSpec{Selector: map[string]string{"foo": "bar"}}},
    			},
    			want: &preFilterState{
    				Constraints: []topologySpreadConstraint{
    					{
    						MaxSkew:            1,
    						TopologyKey:        "zone",
    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/apis/core/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpreadConstraint.
    func (in *TopologySpreadConstraint) DeepCopy() *TopologySpreadConstraint {
    	if in == nil {
    		return nil
    	}
    	out := new(TopologySpreadConstraint)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpreadConstraint.
    func (in *TopologySpreadConstraint) DeepCopy() *TopologySpreadConstraint {
    	if in == nil {
    		return nil
    	}
    	out := new(TopologySpreadConstraint)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "io.k8s.api.core.v1.TopologySpreadConstraint": {
          "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.",
          "properties": {
            "labelSelector": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
Back to top