Print kube-dns pod logs on federation e2e test failure.

pull/6/head
Quinton Hoole 2016-07-01 11:23:29 -07:00
parent 8cabbcbdcf
commit b3c7c49098
1 changed files with 2 additions and 0 deletions

View File

@ -280,6 +280,8 @@ func (f *Framework) AfterEach() {
if f.federated {
// Print logs of federation control plane pods (federation-apiserver and federation-controller-manager)
LogPodsWithLabels(f.Client, "federation", map[string]string{"app": "federated-cluster"})
// Print logs of kube-dns pod
LogPodsWithLabels(f.Client, "kube-system", map[string]string{"k8s-app": "kube-dns"})
}
}