Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for topologySpread (0.22 sec)

  1. pkg/api/pod/util.go

    	}
    }
    
    // dropDisabledMatchLabelKeysFieldInTopologySpread removes disabled fields from PodSpec related
    // to MatchLabelKeys in TopologySpread only if it is not already used by the old spec.
    func dropDisabledMatchLabelKeysFieldInTopologySpread(podSpec, oldPodSpec *api.PodSpec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    	tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
    	"k8s.io/utils/ptr"
    )
    
    var podTopologySpreadFunc = frameworkruntime.FactoryAdapter(feature.Features{}, New)
    
    // TestPreScoreSkip tests the cases that TopologySpread#PreScore returns the Skip status.
    func TestPreScoreSkip(t *testing.T) {
    	tests := []struct {
    		name   string
    		pod    *v1.Pod
    		nodes  []*v1.Node
    		objs   []runtime.Object
    		config config.PodTopologySpreadArgs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
Back to top