get rid of e2e/framework -> k/k/pkg/kubelet dependency

It's conceptually wrong to have dependencies to k/k/pkg in
the e2e framework code. They should be moved to corresponding
packages, in this particular case to the test/e2e_node.
This commit is contained in:
Ed Bartosh
2023-04-12 21:11:43 +03:00
parent 139a2c54a2
commit 867be8fc3e
13 changed files with 29 additions and 37 deletions

View File

@@ -96,7 +96,7 @@ var _ = SIGDescribe("Kubelet PodOverhead handling [LinuxOnly]", func() {
ginkgo.Describe("PodOverhead cgroup accounting", func() {
ginkgo.Context("On running pod with PodOverhead defined", func() {
ginkgo.It("Pod cgroup should be sum of overhead and resource limits", func(ctx context.Context) {
if !framework.TestContext.KubeletConfig.CgroupsPerQOS {
if !kubeletCfg.CgroupsPerQOS {
return
}