mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
Merge pull request #137055 from wongchar/align-uncore-stable
promote align-uncore-cache to stable
This commit is contained in:
@@ -44,11 +44,11 @@ var (
|
||||
)
|
||||
betaOptions = sets.New[string](
|
||||
DistributeCPUsAcrossNUMAOption,
|
||||
PreferAlignByUnCoreCacheOption,
|
||||
)
|
||||
stableOptions = sets.New[string](
|
||||
FullPCPUsOnlyOption,
|
||||
StrictCPUReservationOption,
|
||||
PreferAlignByUnCoreCacheOption,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user