mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
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:
commit
ab25c35732
@ -269,6 +269,7 @@ func printDebugInfo(c *client.Client) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
for _, pod := range podList.Items {
|
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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user