mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +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:
		@@ -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"))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user