mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Pass instrumented runtime service to containergc
Signed-off-by: Deep Debroy <ddebroy@gmail.com>
This commit is contained in:
parent
0a3470a68d
commit
023d6fb8f4
@ -195,6 +195,8 @@ func NewKubeGenericRuntimeManager(
|
|||||||
getNodeAllocatable func() v1.ResourceList,
|
getNodeAllocatable func() v1.ResourceList,
|
||||||
memoryThrottlingFactor float64,
|
memoryThrottlingFactor float64,
|
||||||
) (KubeGenericRuntime, error) {
|
) (KubeGenericRuntime, error) {
|
||||||
|
runtimeService = newInstrumentedRuntimeService(runtimeService)
|
||||||
|
imageService = newInstrumentedImageManagerService(imageService)
|
||||||
kubeRuntimeManager := &kubeGenericRuntimeManager{
|
kubeRuntimeManager := &kubeGenericRuntimeManager{
|
||||||
recorder: recorder,
|
recorder: recorder,
|
||||||
cpuCFSQuota: cpuCFSQuota,
|
cpuCFSQuota: cpuCFSQuota,
|
||||||
@ -206,8 +208,8 @@ func NewKubeGenericRuntimeManager(
|
|||||||
machineInfo: machineInfo,
|
machineInfo: machineInfo,
|
||||||
osInterface: osInterface,
|
osInterface: osInterface,
|
||||||
runtimeHelper: runtimeHelper,
|
runtimeHelper: runtimeHelper,
|
||||||
runtimeService: newInstrumentedRuntimeService(runtimeService),
|
runtimeService: runtimeService,
|
||||||
imageService: newInstrumentedImageManagerService(imageService),
|
imageService: imageService,
|
||||||
internalLifecycle: internalLifecycle,
|
internalLifecycle: internalLifecycle,
|
||||||
logManager: logManager,
|
logManager: logManager,
|
||||||
runtimeClassManager: runtimeClassManager,
|
runtimeClassManager: runtimeClassManager,
|
||||||
|
Loading…
Reference in New Issue
Block a user