package node
import "k8s.io/kubernetes/test/e2e/node"
Index ¶
- Constants
- func SIGDescribe(text string, body func()) bool
- type ContainerAllocations
- type ContainerResources
- type State
- type TestContainerInfo
Constants ¶
const ( CgroupCPUPeriod string = "/sys/fs/cgroup/cpu/cpu.cfs_period_us" string = "/sys/fs/cgroup/cpu/cpu.shares" CgroupCPUQuota string = "/sys/fs/cgroup/cpu/cpu.cfs_quota_us" CgroupMemLimit string = "/sys/fs/cgroup/memory/memory.limit_in_bytes" Cgroupv2MemLimit string = "/sys/fs/cgroup/memory.max" Cgroupv2MemRequest string = "/sys/fs/cgroup/memory.min" Cgroupv2CPULimit string = "/sys/fs/cgroup/cpu.max" Cgroupv2CPURequest string = "/sys/fs/cgroup/cpu.weight" CpuPeriod string = "100000" PollInterval time.Duration = 2 * time.Second PollTimeout time.Duration = 4 * time.Minute )
Functions ¶
func SIGDescribe ¶
SIGDescribe annotates the test with the SIG label.
Types ¶
type ContainerAllocations ¶
type ContainerAllocations struct { CPUAlloc, MemAlloc string // contains filtered or unexported fields }
type ContainerResources ¶
type ContainerResources struct { CPUReq, CPULim, MemReq, MemLim, EphStorReq, EphStorLim string }
type State ¶
State partially cloned from webserver.go
type TestContainerInfo ¶
type TestContainerInfo struct { Name string Resources *ContainerResources Allocations *ContainerAllocations CPUPolicy *v1.ResourceResizeRestartPolicy MemPolicy *v1.ResourceResizeRestartPolicy RestartCount int32 }
Source Files ¶
apparmor.go crictl.go events.go examples.go framework.go kubelet.go kubelet_perf.go mount_propagation.go node_problem_detector.go pod_gc.go pod_resize.go pods.go pre_stop.go runtimeclass.go security_context.go ssh.go taints.go
- Version
- v1.27.6
- Published
- Sep 13, 2023
- Platform
- js/wasm
- Imports
- 71 packages
- Last checked
- 5 seconds ago –
Tools for package owners.