mirror of https://github.com/k3s-io/k3s
Merge pull request #28372 from quinton-hoole/2016-07-01-dump-kubedns-logs
Automatic merge from submit-queue Print kube-dns pod logs on federation e2e test failure.pull/6/head
commit
def30c986e
|
@ -280,6 +280,8 @@ func (f *Framework) AfterEach() {
|
||||||
if f.federated {
|
if f.federated {
|
||||||
// Print logs of federation control plane pods (federation-apiserver and federation-controller-manager)
|
// Print logs of federation control plane pods (federation-apiserver and federation-controller-manager)
|
||||||
LogPodsWithLabels(f.Client, "federation", map[string]string{"app": "federated-cluster"})
|
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"})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue