Kubernetes Node AI Inspector

> kubectl get nodes -o custom-columns=NAME:.metadata.name,INSTANCE-TYPE:.metadata.labels.beta\.kubernetes\.io/instance-type > /tmp/nodes.txt

> cat /tmp/nodes.txt | awk '{ print $1,$2,system("kubectl get pods --all-namespaces --field-selector spec.nodeName="$1" | awk \'{print $1}\' | sort -u | tail -n+2 | tr \'\\n\' \' \'") }' > nodes_with_ns_full.txt


And combine with:
> kubectl top nodes > nodes_stats.txt

> join nodes_stats.txt nodes_with_ns_full.txt

Recommendations