Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf583305

Browse files
authored
Merge pull request#132651 from iholder101/swap/ga
GA the NodeSwap feature gate
2 parents31f31de +b9ce92d commitf583305

File tree

4 files changed

+108
-166
lines changed

4 files changed

+108
-166
lines changed

‎pkg/features/kube_features.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,7 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
14331433
{Version:version.MustParse("1.22"),Default:false,PreRelease:featuregate.Alpha},
14341434
{Version:version.MustParse("1.28"),Default:false,PreRelease:featuregate.Beta},
14351435
{Version:version.MustParse("1.30"),Default:true,PreRelease:featuregate.Beta},
1436+
{Version:version.MustParse("1.34"),Default:true,PreRelease:featuregate.GA,LockToDefault:true},// remove in 1.37
14361437
},
14371438

14381439
NominatedNodeNameForExpectation: {

‎pkg/kubelet/apis/config/validation/validation_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -381,14 +381,6 @@ func TestValidateKubeletConfiguration(t *testing.T) {
381381
returnconf
382382
},
383383
errMsg:"invalid configuration: memorySwap.swapBehavior\"invalid-behavior\" must be one of:\"\",\"LimitedSwap\" or\"NoSwap\"",
384-
}, {
385-
name:"specify MemorySwap.SwapBehavior without enabling NodeSwap",
386-
configure:func(conf*kubeletconfig.KubeletConfiguration)*kubeletconfig.KubeletConfiguration {
387-
conf.FeatureGates=map[string]bool{"NodeSwap":false}
388-
conf.MemorySwap.SwapBehavior=string(kubetypes.LimitedSwap)
389-
returnconf
390-
},
391-
errMsg:"invalid configuration: memorySwap.swapBehavior cannot be set when NodeSwap feature flag is disabled",
392384
}, {
393385
name:"CrashLoopBackOff.MaxContainerRestartPeriod too low",
394386
configure:func(conf*kubeletconfig.KubeletConfiguration)*kubeletconfig.KubeletConfiguration {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp