Achilleas Tzenetopoulos 5 년 전
부모
커밋
715caac57d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      kubernetes-v1.15.4/pkg/scheduler/algorithm/priorities/custom_resource_allocation.go

+ 1 - 1
kubernetes-v1.15.4/pkg/scheduler/algorithm/priorities/custom_resource_allocation.go

@@ -122,7 +122,7 @@ func customScoreInfluxDB(metrics []string, uuid string, socket,
 func customResourceScorer(nodeName string) (float64, error) {
 
 	//InvalidateCache()
-
+	klog.Infof("The value of the Ticker: %v", customcache.LabCache.Timeout.C)
 	cores, _ := Cores[nodeName]
 
 	var results map[string]float64