Merge pull request #27780 from krousey/monitoring_log_flake

Automatic merge from submit-queue

Specify the heapster container when gathering logs
This commit is contained in:
k8s-merge-robot
2016-06-21 13:07:55 -07:00
committed by GitHub

View File

@@ -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"))
}
}