mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 08:54:44 +00:00
Get filesystem stats for files on Windows
This commit is contained in:
@@ -79,6 +79,11 @@ var _ = SIGDescribe("[Feature:Windows] Kubelet-Stats [Serial]", func() {
|
||||
|
||||
framework.ExpectEqual(*podStats.CPU.UsageCoreNanoSeconds > 0, true, "Pod stats should not report 0 cpu usage")
|
||||
framework.ExpectEqual(*podStats.Memory.WorkingSetBytes > 0, true, "Pod stats should not report 0 bytes for memory working set ")
|
||||
|
||||
for _, containerStats := range podStats.Containers {
|
||||
framework.ExpectEqual(containerStats.Logs != nil, true, "Pod stats should have container log stats")
|
||||
framework.ExpectEqual(*containerStats.Logs.AvailableBytes > 0, true, "container log stats should not report 0 bytes for AvailableBytes")
|
||||
}
|
||||
}
|
||||
framework.ExpectEqual(statsChecked, 10, "Should find stats for 10 pods in kubelet stats")
|
||||
|
||||
|
Reference in New Issue
Block a user