From ba09a97341d47e74771ff2e6771a758057afac84 Mon Sep 17 00:00:00 2001 From: Swati Sehgal Date: Mon, 3 Mar 2025 17:56:29 +0000 Subject: [PATCH] node: cpu-mgr: Graduation of `distribute-cpus-across-numa` to Beta Signed-off-by: Swati Sehgal --- pkg/kubelet/cm/cpumanager/policy_options.go | 2 +- pkg/kubelet/cm/cpumanager/policy_options_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/kubelet/cm/cpumanager/policy_options.go b/pkg/kubelet/cm/cpumanager/policy_options.go index 80548fe666c..fcf95d23eec 100644 --- a/pkg/kubelet/cm/cpumanager/policy_options.go +++ b/pkg/kubelet/cm/cpumanager/policy_options.go @@ -39,7 +39,6 @@ const ( var ( alphaOptions = sets.New[string]( - DistributeCPUsAcrossNUMAOption, AlignBySocketOption, DistributeCPUsAcrossCoresOption, PreferAlignByUnCoreCacheOption, @@ -47,6 +46,7 @@ var ( betaOptions = sets.New[string]( FullPCPUsOnlyOption, StrictCPUReservationOption, + DistributeCPUsAcrossNUMAOption, ) stableOptions = sets.New[string]() ) diff --git a/pkg/kubelet/cm/cpumanager/policy_options_test.go b/pkg/kubelet/cm/cpumanager/policy_options_test.go index 90865038fd6..e23c2453415 100644 --- a/pkg/kubelet/cm/cpumanager/policy_options_test.go +++ b/pkg/kubelet/cm/cpumanager/policy_options_test.go @@ -96,14 +96,14 @@ func TestPolicyOptionsAvailable(t *testing.T) { }, { option: DistributeCPUsAcrossNUMAOption, - featureGate: pkgfeatures.CPUManagerPolicyAlphaOptions, + featureGate: pkgfeatures.CPUManagerPolicyBetaOptions, featureGateEnable: true, expectedAvailable: true, }, { option: DistributeCPUsAcrossNUMAOption, featureGate: pkgfeatures.CPUManagerPolicyBetaOptions, - featureGateEnable: true, + featureGateEnable: false, expectedAvailable: false, }, {