Merge pull request #69810 from chrisohaver/checkmem

Add DNS container memory check to scalability tests
This commit is contained in:
k8s-ci-robot
2018-10-18 14:44:09 -07:00
committed by GitHub
3 changed files with 25 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ type SingleContainerSummary struct {
// we can't have int here, as JSON does not accept integer keys.
type ResourceUsageSummary map[string][]SingleContainerSummary
const NoCPUConstraint = math.MaxFloat64
func (s *ResourceUsageSummary) PrintHumanReadable() string {
buf := &bytes.Buffer{}
w := tabwriter.NewWriter(buf, 1, 0, 1, ' ', 0)