airskiff: Remove --show-all from kubectl commands
This change removes the --show-all flag from kubectl commands in the debug report, as it's no longer supported. The data gathered without this flag is sufficient for debugging. Change-Id: Iac9515f99f5e4bc123500602094e70683dd73cb4 Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
parent
b4f6af32e8
commit
4e0a5c1259
@ -23,7 +23,7 @@ function get_namespaces () {
|
||||
|
||||
function get_pods () {
|
||||
NAMESPACE=$1
|
||||
kubectl get pods -n "${NAMESPACE}" -o name --show-all | awk -F '/' '{ print $NF }' | xargs -L1 -P 1 -I {} echo "${NAMESPACE}" {}
|
||||
kubectl get pods -n "${NAMESPACE}" -o name | awk -F '/' '{ print $NF }' | xargs -L1 -P 1 -I {} echo "${NAMESPACE}" {}
|
||||
}
|
||||
export -f get_pods
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user