Expose accelerator metrics in the summary API.

This commit is contained in:
Rohit Agarwal
2017-11-06 14:05:45 -08:00
parent 238b4a0d8e
commit 9c38abd482
4 changed files with 42 additions and 0 deletions

View File

@@ -97,6 +97,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
"PageFaults": bounded(1000, 1E9),
"MajorPageFaults": bounded(0, 100000),
}),
"Accelerators": BeEmpty(),
"Rootfs": BeNil(),
"Logs": BeNil(),
"UserDefinedMetrics": BeEmpty(),
@@ -145,6 +146,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
"PageFaults": bounded(100, 1000000),
"MajorPageFaults": bounded(0, 10),
}),
"Accelerators": BeEmpty(),
"Rootfs": ptrMatchAllFields(gstruct.Fields{
"Time": recent(maxStatsAge),
"AvailableBytes": fsCapacityBounds,