node: topologymgr: trivial internal variable renaming

Since Topology manager is graduating to GA, we remove
internal configuration variable names with `Experimental`
prefix.

There is no expected change in behavior, only trival
variable renaming.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
This commit is contained in:
Swati Sehgal 2023-03-01 15:07:38 +00:00
parent d536a342b4
commit 6a62f0236a
3 changed files with 6 additions and 6 deletions

View File

@ -749,8 +749,8 @@ func run(ctx context.Context, s *options.KubeletServer, kubeDeps *kubelet.Depend
PodPidsLimit: s.PodPidsLimit, PodPidsLimit: s.PodPidsLimit,
EnforceCPULimits: s.CPUCFSQuota, EnforceCPULimits: s.CPUCFSQuota,
CPUCFSQuotaPeriod: s.CPUCFSQuotaPeriod.Duration, CPUCFSQuotaPeriod: s.CPUCFSQuotaPeriod.Duration,
ExperimentalTopologyManagerPolicy: s.TopologyManagerPolicy, TopologyManagerPolicy: s.TopologyManagerPolicy,
ExperimentalTopologyManagerScope: s.TopologyManagerScope, TopologyManagerScope: s.TopologyManagerScope,
ExperimentalTopologyManagerPolicyOptions: topologyManagerPolicyOptions, ExperimentalTopologyManagerPolicyOptions: topologyManagerPolicyOptions,
}, },
s.FailSwapOn, s.FailSwapOn,

View File

@ -148,14 +148,14 @@ type NodeConfig struct {
QOSReserved map[v1.ResourceName]int64 QOSReserved map[v1.ResourceName]int64
CPUManagerPolicy string CPUManagerPolicy string
CPUManagerPolicyOptions map[string]string CPUManagerPolicyOptions map[string]string
ExperimentalTopologyManagerScope string TopologyManagerScope string
CPUManagerReconcilePeriod time.Duration CPUManagerReconcilePeriod time.Duration
ExperimentalMemoryManagerPolicy string ExperimentalMemoryManagerPolicy string
ExperimentalMemoryManagerReservedMemory []kubeletconfig.MemoryReservation ExperimentalMemoryManagerReservedMemory []kubeletconfig.MemoryReservation
PodPidsLimit int64 PodPidsLimit int64
EnforceCPULimits bool EnforceCPULimits bool
CPUCFSQuotaPeriod time.Duration CPUCFSQuotaPeriod time.Duration
ExperimentalTopologyManagerPolicy string TopologyManagerPolicy string
ExperimentalTopologyManagerPolicyOptions map[string]string ExperimentalTopologyManagerPolicyOptions map[string]string
} }

View File

@ -291,8 +291,8 @@ func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.I
cm.topologyManager, err = topologymanager.NewManager( cm.topologyManager, err = topologymanager.NewManager(
machineInfo.Topology, machineInfo.Topology,
nodeConfig.ExperimentalTopologyManagerPolicy, nodeConfig.TopologyManagerPolicy,
nodeConfig.ExperimentalTopologyManagerScope, nodeConfig.TopologyManagerScope,
nodeConfig.ExperimentalTopologyManagerPolicyOptions, nodeConfig.ExperimentalTopologyManagerPolicyOptions,
) )