mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #130541 from swatisehgal/distribute-across-numa-beta-graduation
node: cpu-mgr: Graduation of `distribute-cpus-across-numa` policy option to Beta
This commit is contained in:
commit
648620da0e
@ -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]()
|
||||
)
|
||||
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user