Skip to content

Commit

Permalink
run rdt res_ctrl in resmanager (#127)
Browse files Browse the repository at this point in the history
Signed-off-by: yimo <[email protected]>
  • Loading branch information
cheimu authored May 9, 2022
1 parent 5b00789 commit 54d52c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/koordlet/resmanager/resmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ func (r *resmanager) Run(stopCh <-chan struct{}) error {
memoryEvictor := NewMemoryEvictor(r)
util.RunFeature(memoryEvictor.memoryEvict, []featuregate.Feature{features.BEMemoryEvict}, r.config.MemoryEvictIntervalSeconds, stopCh)

rdtResCtrl := NewResctrlReconcile(r)
util.RunFeatureWithInit(func() error { return rdtResCtrl.RunInit(stopCh) }, rdtResCtrl.reconcile,
[]featuregate.Feature{features.RdtResctrl}, r.config.ReconcileIntervalSeconds, stopCh)

klog.Info("Starting resmanager successfully")
<-stopCh
klog.Info("shutting down resmanager")
Expand Down

0 comments on commit 54d52c7

Please sign in to comment.