kubernetesk8s.io/kubernetes/test/e2e/scheduling Index | Files

package scheduling

import "k8s.io/kubernetes/test/e2e/scheduling"

Index

Functions

func CreateHostPortPods

func CreateHostPortPods(f *framework.Framework, id string, replicas int, expectRunning bool)

func CreateNodeSelectorPods

func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nodeSelector map[string]string, expectRunning bool) error

func GetNodeThatCanRunPod

func GetNodeThatCanRunPod(f *framework.Framework) string

func SIGDescribe

func SIGDescribe(text string, body func()) bool

func WaitForSchedulerAfterAction

func WaitForSchedulerAfterAction(f *framework.Framework, action common.Action, podName string, expectSuccess bool)

WaitForSchedulerAfterAction performs the provided action and then waits for scheduler to act on the given pod.

Types

type Resource

type Resource struct {
	MilliCPU int64
	Memory   int64
}

Source Files

equivalence_cache_predicates.go events.go framework.go nvidia-gpus.go opaque_resource.go predicates.go preemption.go priorities.go rescheduler.go

Version
v1.8.11-beta.0
Published
Mar 19, 2018
Platform
js/wasm
Imports
28 packages
Last checked
14 minutes ago

Tools for package owners.