Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NodeAffinityNotIn (0.17 sec)

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

    					{key: "node", value: "node-y"}: 2,
    				},
    			},
    		},
    		{
    			name: "two spreadConstraints, and with podAffinity",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				NodeAffinityNotIn("node", []string{"node-x"}). // exclude node-x
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				SpreadConstraint(1, "node", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
Back to top