package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-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.
GetNodeThatCanRunPod trying to launch a pod without a label to get a node which can launch it.
OnlyAllowNodeZones tests that GetAllCurrentZones returns only zones with Nodes.
PodsUseStaticPVsOrFail Check that the pods using statically created PVs get scheduled to the same zone that the PV is in.
SetupNVIDIAGPUNode install Nvidia Drivers and wait for Nvidia GPUs to be available on nodes.
SIGDescribe annotates the test with the SIG label.
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.
StartJob starts a simple CUDA job that requests gpu and the specified number of completions.
VerifyJobNCompletions verifies that the job has completions number of successful pods.
WaitForSchedulerAfterAction performs the provided action and then waits for scheduler to act on the given pod.

# Structs

Resource is a collection of compute resource.