Add get pods to the logs
Change-Id: I1d7a3fb3c87da28f00b0e4771074a53949ba23c0
This commit is contained in:
parent
e3dde656b0
commit
4481a0b31e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue