diff --git a/test/e2e/monitoring.go b/test/e2e/monitoring.go index 063999db96c..a4d591064ea 100644 --- a/test/e2e/monitoring.go +++ b/test/e2e/monitoring.go @@ -269,6 +269,7 @@ func printDebugInfo(c *client.Client) { return } for _, pod := range podList.Items { - framework.Logf("Kubectl output:\n%v", framework.RunKubectlOrDie("log", pod.Name, "--namespace=kube-system")) + framework.Logf("Kubectl output:\n%v", + framework.RunKubectlOrDie("log", pod.Name, "--namespace=kube-system", "--container=heapster")) } }