diff --git a/pkg/kubelet/cm/cpumanager/policy_options.go b/pkg/kubelet/cm/cpumanager/policy_options.go index 745c6bf7ca5..19da027a8b9 100644 --- a/pkg/kubelet/cm/cpumanager/policy_options.go +++ b/pkg/kubelet/cm/cpumanager/policy_options.go @@ -44,11 +44,11 @@ var ( ) betaOptions = sets.New[string]( DistributeCPUsAcrossNUMAOption, - PreferAlignByUnCoreCacheOption, ) stableOptions = sets.New[string]( FullPCPUsOnlyOption, StrictCPUReservationOption, + PreferAlignByUnCoreCacheOption, ) ) diff --git a/pkg/kubelet/cm/cpumanager/policy_options_test.go b/pkg/kubelet/cm/cpumanager/policy_options_test.go index 5af8060cc23..3fc6793763f 100644 --- a/pkg/kubelet/cm/cpumanager/policy_options_test.go +++ b/pkg/kubelet/cm/cpumanager/policy_options_test.go @@ -106,18 +106,6 @@ func TestPolicyOptionsAvailable(t *testing.T) { featureGateEnable: true, expectedAvailable: false, }, - { - option: PreferAlignByUnCoreCacheOption, - featureGate: pkgfeatures.CPUManagerPolicyBetaOptions, - featureGateEnable: false, - expectedAvailable: false, - }, - { - option: PreferAlignByUnCoreCacheOption, - featureGate: pkgfeatures.CPUManagerPolicyBetaOptions, - featureGateEnable: true, - expectedAvailable: true, - }, } for _, testCase := range testCases { t.Run(testCase.option, func(t *testing.T) { @@ -135,6 +123,7 @@ func TestPolicyOptionsAlwaysAvailableOnceGA(t *testing.T) { options := []string{ FullPCPUsOnlyOption, StrictCPUReservationOption, + PreferAlignByUnCoreCacheOption, } for _, option := range options { t.Run(option, func(t *testing.T) {