diff --git a/validate-microshift/cluster-debug-info.sh b/validate-microshift/cluster-debug-info.sh index 400b039f48..7cb12ba3ff 100755 --- a/validate-microshift/cluster-debug-info.sh +++ b/validate-microshift/cluster-debug-info.sh @@ -15,14 +15,18 @@ to_run sudo crictl version to_run uname -a to_run cat /etc/*-release -RESOURCES=(nodes configmaps deployments daemonsets statefulsets services routes replicasets persistentvolumeclaims persistentvolumes storageclasses endpoints endpointslices csidrivers csinodes) +RESOURCES=(nodes pods configmaps deployments daemonsets statefulsets services routes replicasets persistentvolumeclaims persistentvolumes storageclasses endpoints endpointslices csidrivers csinodes) for resource in ${RESOURCES[*]}; do to_run oc get "${resource}" -A - to_run oc get "${resource}" -A -o yaml done +to_run oc describe nodes to_run oc get events -A --sort-by=.metadata.creationTimestamp +for resource in ${RESOURCES[*]}; do + to_run oc get "${resource}" -A -o yaml +done + TO_DESCRIBE=(deployments daemonsets statefulsets replicasets) for ns in $(kubectl get namespace -o jsonpath='{.items..metadata.name}'); do oc get namespace $ns -o yaml