mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
node: cpu-mgr: Graduation of distribute-cpus-across-numa
to Beta
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
This commit is contained in:
parent
f9b27edf39
commit
ba09a97341
@ -39,7 +39,6 @@ const (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
alphaOptions = sets.New[string](
|
alphaOptions = sets.New[string](
|
||||||
DistributeCPUsAcrossNUMAOption,
|
|
||||||
AlignBySocketOption,
|
AlignBySocketOption,
|
||||||
DistributeCPUsAcrossCoresOption,
|
DistributeCPUsAcrossCoresOption,
|
||||||
PreferAlignByUnCoreCacheOption,
|
PreferAlignByUnCoreCacheOption,
|
||||||
@ -47,6 +46,7 @@ var (
|
|||||||
betaOptions = sets.New[string](
|
betaOptions = sets.New[string](
|
||||||
FullPCPUsOnlyOption,
|
FullPCPUsOnlyOption,
|
||||||
StrictCPUReservationOption,
|
StrictCPUReservationOption,
|
||||||
|
DistributeCPUsAcrossNUMAOption,
|
||||||
)
|
)
|
||||||
stableOptions = sets.New[string]()
|
stableOptions = sets.New[string]()
|
||||||
)
|
)
|
||||||
|
@ -96,14 +96,14 @@ func TestPolicyOptionsAvailable(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
option: DistributeCPUsAcrossNUMAOption,
|
option: DistributeCPUsAcrossNUMAOption,
|
||||||
featureGate: pkgfeatures.CPUManagerPolicyAlphaOptions,
|
featureGate: pkgfeatures.CPUManagerPolicyBetaOptions,
|
||||||
featureGateEnable: true,
|
featureGateEnable: true,
|
||||||
expectedAvailable: true,
|
expectedAvailable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
option: DistributeCPUsAcrossNUMAOption,
|
option: DistributeCPUsAcrossNUMAOption,
|
||||||
featureGate: pkgfeatures.CPUManagerPolicyBetaOptions,
|
featureGate: pkgfeatures.CPUManagerPolicyBetaOptions,
|
||||||
featureGateEnable: true,
|
featureGateEnable: false,
|
||||||
expectedAvailable: false,
|
expectedAvailable: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user