kubernetes/test/e2e_node/hugepages_test.go

const hugepagesSize2M

const hugepagesSize1G

const hugepagesDirPrefix

const hugepagesCapacityFile

const hugepagesResourceName2Mi

const hugepagesResourceName1Gi

const hugepagesCgroup2MB

const hugepagesCgroup1GB

const mediumHugepages

const mediumHugepages2Mi

const mediumHugepages1Gi

var resourceToSize

var resourceToCgroup

// makePodToVerifyHugePages returns a pod that verifies specified cgroup with hugetlb
func makePodToVerifyHugePages(baseName string, hugePagesLimit resource.Quantity, hugepagesCgroup string) *v1.Pod {}

// configureHugePages attempts to allocate hugepages of the specified size
func configureHugePages(hugepagesSize int, hugepagesCount int, numaNodeID *int) error {}

// isHugePageAvailable returns true if hugepages of the specified size is available on the host
func isHugePageAvailable(hugepagesSize int) bool {}

func getHugepagesTestPod(f *framework.Framework, limits v1.ResourceList, mounts []v1.VolumeMount, volumes []v1.Volume) *v1.Pod {}

var _