Merge pull request #105585 from fengzixu/improvement-volume-health

add volume kubelet_volume_stats_health_abnormal to kubelet
This commit is contained in:
Kubernetes Prow Robot
2022-03-15 05:58:11 -07:00
committed by fengzixu
parent 7d675381f8
commit 5cb6fab8f6
7 changed files with 93 additions and 33 deletions

View File

@@ -228,8 +228,9 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
}),
"VolumeStats": gstruct.MatchAllElements(summaryObjectID, gstruct.Elements{
"test-empty-dir": gstruct.MatchAllFields(gstruct.Fields{
"Name": gomega.Equal("test-empty-dir"),
"PVCRef": gomega.BeNil(),
"Name": gomega.Equal("test-empty-dir"),
"PVCRef": gomega.BeNil(),
"VolumeHealthStats": gomega.BeNil(),
"FsStats": gstruct.MatchAllFields(gstruct.Fields{
"Time": recent(maxStatsAge),
"AvailableBytes": fsCapacityBounds,