@@ -98,6 +98,9 @@ kubetest --test --test_args="--ginkgo.focus=\[Feature:Performance\]" --provider=
98
98
# Conversely, exclude tests that match the regex "Pods.*env"
99
99
kubetest --test --test_args=" --ginkgo.skip=Pods.*env"
100
100
101
+ # Exclude tests tha require a certain minimum version of the kubelet
102
+ kubetest --test --test_args=" --ginkgo.skip=\[MinimumKubeletVersion:1.20\]"
103
+
101
104
# Run tests in parallel, skip any that must be run serially
102
105
GINKGO_PARALLEL=y kubetest --test --test_args=" --ginkgo.skip=\[Serial\]"
103
106
@@ -441,12 +444,18 @@ breaking changes, it does *not* block PR merges, and thus should run in
441
444
some separate test suites owned by the feature owner(s)
442
445
(see [ Continuous Integration] ( #continuous-integration ) below).
443
446
447
+ - ` [MinimumKubeletVersion:.+] ` : This label must be set on tests that require
448
+ a minimum version of the kubelet. Invocations of the test suite can then decide
449
+ to ` skip ` the same tests if kubelets in the cluster do not satisfy the requirement.
450
+ For example, ` [MinimumKubeletVersion:(1.20|1.21)] ` would ` skip ` tests with minimum
451
+ kubelet versions ` 1.20 ` and ` 1.21 ` .
452
+
444
453
- ` [Conformance] ` : Designate that this test is included in the Conformance
445
454
test suite for [ Conformance Testing] ( ../sig-architecture/conformance-tests.md ) . This test must
446
455
meet a number of [ requirements] ( ../sig-architecture/conformance-tests.md#conformance-test-requirements )
447
456
to be eligible for this tag. This tag does not supersed any other labels.
448
457
449
- - ` [LinuxOnly] ` : If a test is known to be using Linux-specific features
458
+ - ` [LinuxOnly] ` : If a test is known to be using Linux-specific features
450
459
(e.g.: seLinuxOptions) or is unable to run on Windows nodes, it is labeled
451
460
` [LinuxOnly] ` . When using Windows nodes, this tag should be added to the
452
461
` skip ` argument.
@@ -543,7 +552,7 @@ If a behavior does not currently have coverage and a developer wishes to add a
543
552
new e2e test, navigate to the ./test/e2e directory and create a new test using
544
553
the existing suite as a guide.
545
554
546
- ** NOTE:** To build/run with tests in a new directory within ./test/e2e, add the
555
+ ** NOTE:** To build/run with tests in a new directory within ./test/e2e, add the
547
556
directory to import list in ./test/e2e/e2e_test.go
548
557
549
558
When writing a test, consult #kinds-of-tests above to determine how your test
0 commit comments