kubernetes/test/e2e_node/cpu_manager_test.go

type ctnAttribute

// makeCPUMangerPod returns a pod with the provided ctnAttributes.
func makeCPUManagerPod(podName string, ctnAttributes []ctnAttribute) *v1.Pod {}

// makeCPUMangerInitContainersPod returns a pod with init containers with the
// provided ctnAttributes.
func makeCPUManagerInitContainersPod(podName string, ctnAttributes []ctnAttribute) *v1.Pod {}

func deletePodSyncByName(ctx context.Context, f *framework.Framework, podName string) {}

func deletePods(ctx context.Context, f *framework.Framework, podNames []string) {}

func getLocalNodeCPUDetails(ctx context.Context, f *framework.Framework) (cpuCapVal int64, cpuAllocVal int64, cpuResVal int64) {}

func waitForContainerRemoval(ctx context.Context, containerName, podName, podNS string) {}

func isHTEnabled() bool {}

func isMultiNUMA() bool {}

func getSMTLevel() int {}

func getCPUSiblingList(cpuRes int64) string {}

func getCoreSiblingList(cpuRes int64) string {}

type cpuManagerKubeletArguments

func configureCPUManagerInKubelet(oldCfg *kubeletconfig.KubeletConfiguration, kubeletArguments *cpuManagerKubeletArguments) *kubeletconfig.KubeletConfiguration {}

func runGuPodTest(ctx context.Context, f *framework.Framework, cpuCount int) {}

func runNonGuPodTest(ctx context.Context, f *framework.Framework, cpuCap int64) {}

func mustParseCPUSet(s string) cpuset.CPUSet {}

func runAutomaticallyRemoveInactivePodsFromCPUManagerStateFile(ctx context.Context, f *framework.Framework) {}

func runMultipleGuNonGuPods(ctx context.Context, f *framework.Framework, cpuCap int64, cpuAlloc int64) {}

func runMultipleCPUGuPod(ctx context.Context, f *framework.Framework) {}

func runMultipleCPUContainersGuPod(ctx context.Context, f *framework.Framework) {}

func runMultipleGuPods(ctx context.Context, f *framework.Framework) {}

func runCPUManagerTests(f *framework.Framework) {}

func runSMTAlignmentNegativeTests(ctx context.Context, f *framework.Framework) {}

func runSMTAlignmentPositiveTests(ctx context.Context, f *framework.Framework, smtLevel int) {}

func validateSMTAlignment(cpus cpuset.CPUSet, smtLevel int, pod *v1.Pod, cnt *v1.Container) {}

func isSMTAlignmentError(pod *v1.Pod) bool {}

var _