mirror of https://github.com/k3s-io/k3s
Print kube-dns pod logs on federation e2e test failure.
parent
8cabbcbdcf
commit
b3c7c49098
|
@ -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"})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue