package node
import "k8s.io/kubernetes/test/e2e/node"
Index ¶
- Constants
- Variables
- func SetupEnvironmentAndSkipIfNeeded(ctx context.Context, f *framework.Framework, clientSet clientset.Interface)
- func SetupNVIDIAGPUNode(ctx context.Context, f *framework.Framework)
- func StartJob(ctx context.Context, f *framework.Framework, completions int32)
- func VerifyJobNCompletions(ctx context.Context, f *framework.Framework, completions int32)
- type State
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 ¶
SetupNVIDIAGPUNode install Nvidia Drivers and wait for Nvidia GPUs to be available on nodes
func StartJob ¶
StartJob starts a simple CUDA job that requests gpu and the specified number of completions
func VerifyJobNCompletions ¶
VerifyJobNCompletions verifies that the job has completions number of successful pods
Types ¶
type State ¶
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.