mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
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:
parent
d536a342b4
commit
6a62f0236a
@ -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,
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user