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

package node

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

Index

Constants

const ProcSelfStatusPath = "/proc/self/status"

ProcSelfStatusPath is the path to /proc/self/status.

const SeccompProcStatusField = "Seccomp:"

SeccompProcStatusField is the field of /proc/$PID/status referencing the seccomp filter type.

Variables

var SIGDescribe = framework.SIGDescribe("node")

SIGDescribe annotates the test with the SIG label.

Functions

func SetupEnvironmentAndSkipIfNeeded

func SetupEnvironmentAndSkipIfNeeded(ctx context.Context, f *framework.Framework, clientSet clientset.Interface)

func SetupNVIDIAGPUNode

func SetupNVIDIAGPUNode(ctx context.Context, f *framework.Framework)

SetupNVIDIAGPUNode install Nvidia Drivers and wait for Nvidia GPUs to be available on nodes

func StartJob

func StartJob(ctx context.Context, f *framework.Framework, completions int32)

StartJob starts a simple CUDA job that requests gpu and the specified number of completions

func VerifyJobNCompletions

func VerifyJobNCompletions(ctx context.Context, f *framework.Framework, completions int32)

VerifyJobNCompletions verifies that the job has completions number of successful pods

Types

type State

type State struct {
	Received map[string]int
}

State partially cloned from webserver.go

Source Files

apparmor.go crictl.go events.go examples.go framework.go gpu.go kubelet.go kubelet_authz.go kubelet_perf.go mount_propagation.go node_lifecycle.go node_problem_detector.go pod_admission.go pod_gc.go pod_resize.go pods.go pre_stop.go runtimeclass.go security_context.go ssh.go taints.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
82 packages
Last checked
3 hours ago

Tools for package owners.