(logging) Add Pod YAML to debug logs
- Serialize all namespace pods to YAML in the debug logs Change-Id: Idbd027dd80d939e79e2736aea17291293fcdbdd9
This commit is contained in:
parent
1194c790b9
commit
cfb64c783b
@ -77,6 +77,8 @@ if which helm; then
|
||||
fi
|
||||
|
||||
kubectl get --all-namespaces -o wide pods > "${BASE_DIR}/pods.txt"
|
||||
kubectl get pods --all-namespaces -o yaml > "${BASE_DIR}/pods_long.yaml"
|
||||
kubectl describe pods --all-namespaces > "${BASE_DIR}/pods_describe.txt"
|
||||
|
||||
get_namespaces | \
|
||||
xargs -r -n 1 -P "${PARALLELISM_FACTOR}" -I {} bash -c 'get_pods "$@"' _ {} | \
|
||||
|
Loading…
x
Reference in New Issue
Block a user