mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +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
|
||||
}
|
||||
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