From 8b1b06c507fa754ff940911fcbe45c54b30eae26 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Tue, 5 Oct 2021 10:26:10 +0200 Subject: [PATCH] e2e_node: Remove KubeletPodResources enablement as it is a default gate --- test/e2e_node/device_plugin_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/e2e_node/device_plugin_test.go b/test/e2e_node/device_plugin_test.go index 9e4493f3a21..0de90d98717 100644 --- a/test/e2e_node/device_plugin_test.go +++ b/test/e2e_node/device_plugin_test.go @@ -34,8 +34,6 @@ import ( "k8s.io/apimachinery/pkg/util/uuid" kubeletpodresourcesv1 "k8s.io/kubelet/pkg/apis/podresources/v1" kubeletpodresourcesv1alpha1 "k8s.io/kubelet/pkg/apis/podresources/v1alpha1" - "k8s.io/kubernetes/pkg/features" - kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config" "k8s.io/kubernetes/test/e2e/framework" e2enode "k8s.io/kubernetes/test/e2e/framework/node" e2epod "k8s.io/kubernetes/test/e2e/framework/pod" @@ -113,12 +111,6 @@ func testDevicePlugin(f *framework.Framework, pluginSockDir string) { pluginSockDir = filepath.Join(pluginSockDir) + "/" ginkgo.Context("DevicePlugin", func() { ginkgo.By("Enabling support for Kubelet Plugins Watcher") - tempSetCurrentKubeletConfig(f, func(initialConfig *kubeletconfig.KubeletConfiguration) { - if initialConfig.FeatureGates == nil { - initialConfig.FeatureGates = map[string]bool{} - } - initialConfig.FeatureGates[string(features.KubeletPodResources)] = true - }) ginkgo.It("[Flaky] Verifies the Kubelet device plugin functionality.", func() { ginkgo.By("Wait for node is ready to start with") e2enode.WaitForNodeToBeReady(f.ClientSet, framework.TestContext.NodeName, 5*time.Minute)