feature: add CSIVolumeHealth feature and gate
1. add EventRecorder to ResourceAnalyzer 2. add CSIVolumeHealth feature and gate
This commit is contained in:
@@ -255,7 +255,7 @@ func newTestKubeletWithImageList(
|
||||
}
|
||||
|
||||
volumeStatsAggPeriod := time.Second * 10
|
||||
kubelet.resourceAnalyzer = serverstats.NewResourceAnalyzer(kubelet, volumeStatsAggPeriod)
|
||||
kubelet.resourceAnalyzer = serverstats.NewResourceAnalyzer(kubelet, volumeStatsAggPeriod, kubelet.recorder)
|
||||
|
||||
fakeHostStatsProvider := stats.NewFakeHostStatsProvider()
|
||||
|
||||
|
Reference in New Issue
Block a user