Commit ab25c357 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #27780 from krousey/monitoring_log_flake

Automatic merge from submit-queue Specify the heapster container when gathering logs
parents ee87a39f 9eeec72e
......@@ -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"))
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment