Merge pull request #58760 from mtaufen/kc-remove-kubeletconfigfile-gate
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Removal of KubeletConfigFile feature gate: Step 1 This feature gate was redundant with the `--config` flag, which already enables/disables loading Kubelet config from a file. Since the gate guarded an alpha feature, removing it is not a violation of our API guidelines. Some stuff in `kubernetes/test-infra` currently sets the gate, so removing will be a 3 step process: 1. This PR, which makes the gate a no-op. 2. Stop setting the gate in `kubernetes/test-infra`. 3. Completely remove the gate (this PR will get the release note). ```release-note NONE ```
This commit is contained in:
@@ -6,7 +6,7 @@ GCE_ZONE=us-central1-f
|
||||
GCE_PROJECT=k8s-jkns-ubuntu-node
|
||||
CLEANUP=true
|
||||
GINKGO_FLAGS='--skip="\[Flaky\]|\[Serial\]"'
|
||||
TEST_ARGS='--feature-gates=KubeletConfigFile=true --generate-kubelet-config-file=true'
|
||||
TEST_ARGS='--generate-kubelet-config-file=true'
|
||||
KUBELET_ARGS=''
|
||||
TIMEOUT=1h
|
||||
# Use the system spec defined in test/e2e_node/system/specs/gke.yaml.
|
||||
|
@@ -4,6 +4,6 @@ GCE_ZONE=us-central1-f
|
||||
GCE_PROJECT=k8s-jkns-ci-node-e2e
|
||||
CLEANUP=true
|
||||
GINKGO_FLAGS='--skip="\[Flaky\]|\[Serial\]"'
|
||||
TEST_ARGS='--feature-gates=KubeletConfigFile=true --generate-kubelet-config-file=true'
|
||||
TEST_ARGS='--generate-kubelet-config-file=true'
|
||||
KUBELET_ARGS=''
|
||||
TIMEOUT=1h
|
||||
|
@@ -4,7 +4,7 @@ GCE_ZONE=us-central1-f
|
||||
GCE_PROJECT=k8s-jkns-ci-node-e2e
|
||||
CLEANUP=true
|
||||
GINKGO_FLAGS='--focus="\[Flaky\]"'
|
||||
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true,PodPriority=true,KubeletConfigFile=true --generate-kubelet-config-file=true'
|
||||
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true,PodPriority=true --generate-kubelet-config-file=true'
|
||||
KUBELET_ARGS=''
|
||||
PARALLELISM=1
|
||||
TIMEOUT=3h
|
||||
|
@@ -4,6 +4,6 @@ GCE_ZONE=us-central1-f
|
||||
GCE_PROJECT=k8s-jkns-pr-node-e2e
|
||||
CLEANUP=true
|
||||
GINKGO_FLAGS='--skip="\[Flaky\]|\[Slow\]|\[Serial\]" --flakeAttempts=2'
|
||||
TEST_ARGS='--feature-gates=KubeletConfigFile=true --generate-kubelet-config-file=true'
|
||||
TEST_ARGS='--generate-kubelet-config-file=true'
|
||||
KUBELET_ARGS=''
|
||||
|
||||
|
@@ -6,7 +6,7 @@ GCE_ZONE=us-central1-f
|
||||
GCE_PROJECT=k8s-jkns-ubuntu-node-serial
|
||||
CLEANUP=true
|
||||
GINKGO_FLAGS='--focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]"'
|
||||
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true,KubeletConfigFile=true --generate-kubelet-config-file=true'
|
||||
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true --generate-kubelet-config-file=true'
|
||||
KUBELET_ARGS=''
|
||||
PARALLELISM=1
|
||||
TIMEOUT=3h
|
||||
|
@@ -4,7 +4,7 @@ GCE_ZONE=us-west1-b
|
||||
GCE_PROJECT=k8s-jkns-ci-node-e2e
|
||||
CLEANUP=true
|
||||
GINKGO_FLAGS='--focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]"'
|
||||
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true,KubeletConfigFile=true --generate-kubelet-config-file=true'
|
||||
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true --generate-kubelet-config-file=true'
|
||||
KUBELET_ARGS=''
|
||||
PARALLELISM=1
|
||||
TIMEOUT=3h
|
||||
|
@@ -77,8 +77,7 @@ func init() {
|
||||
flag.Var(&kubeletArgs, "kubelet-flags", "Kubelet flags passed to kubelet, this will override default kubelet flags in the test. Flags specified in multiple kubelet-flags will be concatenate.")
|
||||
flag.BoolVar(&kubeletContainerized, "kubelet-containerized", false, "Run kubelet in a docker container")
|
||||
flag.StringVar(&hyperkubeImage, "hyperkube-image", "", "Docker image with containerized kubelet")
|
||||
flag.BoolVar(&genKubeletConfigFile, "generate-kubelet-config-file", false, "The test runner will generate a Kubelet config file containing test defaults instead of passing default flags to the Kubelet. "+
|
||||
"If you use this test framework feature, ensure that the KubeletConfigFile feature gate is enabled.")
|
||||
flag.BoolVar(&genKubeletConfigFile, "generate-kubelet-config-file", false, "The test runner will generate a Kubelet config file containing test defaults instead of passing default flags to the Kubelet.")
|
||||
}
|
||||
|
||||
// RunKubelet starts kubelet and waits for termination signal. Once receives the
|
||||
|
Reference in New Issue
Block a user