Add get pods to the logs

Change-Id: I1d7a3fb3c87da28f00b0e4771074a53949ba23c0
This commit is contained in:
Flavio Percoco 2017-11-16 17:16:05 +01:00
parent e3dde656b0
commit 4481a0b31e
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ copy_logs() {
fi
(kubectl version && kubectl cluster-info dump && kubectl config view) > ${SYSTEM_LOGS}/k8s-info.txt 2>&1
kubectl describe all --all-namespaces > ${SYSTEM_LOGS}/k8s-describe-all.txt 2>&1
(kubectl get pods --all-namespaces && kubectl describe all --all-namespaces) > ${SYSTEM_LOGS}/k8s-describe-all.txt 2>&1
fi
# Rename files to .txt; this is so that when displayed via