- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PodAffinityIn (0.48 sec)
-
pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 03:08:44 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go
), }, { name: "PodAffinity fails PreFilter with an invalid affinity label syntax", pod: st.MakePod().Namespace(defaultNamespace).Labels(podLabel). PodAffinityIn("service", "region", []string{"{{.bad-value.}}"}, st.PodAffinityWithRequiredReq). PodAffinityIn("service", "node", []string{"antivirusscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(), node: &node1, wantPreFilterStatus: framework.NewStatus(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 58.2K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
labelSelector := MakeLabelSelector().NotExist(labelKey).Obj() p.PodAntiAffinity(topologyKey, labelSelector, kind) return p } // PodAffinityIn creates a PodAffinity with the operator "In" // and injects into the inner pod. func (p *PodWrapper) PodAffinityIn(labelKey, topologyKey string, vals []string, kind PodAffinityKind) *PodWrapper { labelSelector := MakeLabelSelector().In(labelKey, vals).Obj()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0)