package scheduling
import "k8s.io/kubernetes/test/e2e/scheduling"
Index ¶
- Constants
- func CreateHostPortPods(f *framework.Framework, id string, replicas int, expectRunning bool)
- func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nodeSelector map[string]string, expectRunning bool) error
- func GetNodeThatCanRunPod(f *framework.Framework) string
- func OnlyAllowNodeZones(f *framework.Framework, zoneCount int, image string)
- func PodsUseStaticPVsOrFail(f *framework.Framework, podCount int, image string)
- func SIGDescribe(text string, body func()) bool
- func SetupNVIDIAGPUNode(f *framework.Framework, setupResourceGatherer bool) *framework.ContainerResourceGatherer
- func SpreadRCOrFail(f *framework.Framework, replicaCount int32, image string)
- func SpreadServiceOrFail(f *framework.Framework, replicaCount int, image string)
- func WaitForSchedulerAfterAction(f *framework.Framework, action common.Action, ns, podName string, expectSuccess bool)
- type Resource
Constants ¶
const ( KubeletPodDeletionDelaySeconds = 60 AdditionalWaitPerDeleteSeconds = 5 )
Functions ¶
func CreateHostPortPods ¶
func CreateNodeSelectorPods ¶
func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nodeSelector map[string]string, expectRunning bool) error
func GetNodeThatCanRunPod ¶
func OnlyAllowNodeZones ¶
OnlyAllowNodeZones tests that GetAllCurrentZones returns only zones with Nodes
func PodsUseStaticPVsOrFail ¶
Check that the pods using statically created PVs get scheduled to the same zone that the PV is in.
func SIGDescribe ¶
func SetupNVIDIAGPUNode ¶
func SetupNVIDIAGPUNode(f *framework.Framework, setupResourceGatherer bool) *framework.ContainerResourceGatherer
func SpreadRCOrFail ¶
Check that the pods comprising a replication controller get spread evenly across available zones
func SpreadServiceOrFail ¶
Check that the pods comprising a service get spread evenly across available zones
func WaitForSchedulerAfterAction ¶
func WaitForSchedulerAfterAction(f *framework.Framework, action common.Action, ns, podName string, expectSuccess bool)
WaitForSchedulerAfterAction performs the provided action and then waits for scheduler to act on the given pod.
Types ¶
type Resource ¶
Source Files ¶
equivalence_cache_predicates.go events.go framework.go limit_range.go nvidia-gpus.go predicates.go preemption.go priorities.go resource_quota.go taint_based_evictions.go taints.go ubernetes_lite.go ubernetes_lite_volumes.go
- Version
- v1.13.11
- Published
- Sep 13, 2019
- Platform
- js/wasm
- Imports
- 42 packages
- Last checked
- 2 minutes ago –
Tools for package owners.