package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
CreateHostPortPods creates RC with host port 4321.
CreateNodeSelectorPods creates RC with host port 4321 and defines node selector.
Get2NodesThatCanRunPod return a 2-node slice where can run pod.
GetNodeThatCanRunPod trying to launch a pod without a label to get a node which can launch it.
GetPodsScheduled returns a number of currently scheduled and not scheduled Pods on worker nodes.
SpreadRCOrFail Check that the pods comprising a replication controller get spread evenly across available zones.
SpreadServiceOrFail check that the pods comprising a service get spread evenly across available zones.
WaitForSchedulerAfterAction performs the provided action and then waits for scheduler to act on the given pod.
WaitForStableCluster waits until all existing pods are scheduled and returns their amount.
# Variables
SIGDescribe annotates the test with the SIG label.
# Type aliases
Action is a function to be performed by the system.