Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PodAffinityExists (0.22 sec)

  1. pkg/scheduler/testing/wrappers.go

    			v1.WeightedPodAffinityTerm{Weight: 1, PodAffinityTerm: term},
    		)
    	}
    	return p
    }
    
    // PodAffinityExists creates a PodAffinity with the operator "Exists"
    // and injects into the inner pod.
    func (p *PodWrapper) PodAffinityExists(labelKey, topologyKey string, kind PodAffinityKind) *PodWrapper {
    	labelSelector := MakeLabelSelector().Exists(labelKey).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)
Back to top