kubectl -n test-ns get pods -ojson | jq '.items[] | select(.status.containerStatuses[].ready==false) | .metadata.name'
kubectl get pods -ojson | jq '.items[] | {ns:.metadata.namespace, name:.metadata.name,image:.spec.containers[].image} | @csv'
kubectl get nodes -o json | jq -r '.items | sort_by(.status.capacity.memory)[]|[.metadata.name,.status.capacity.memory,.status.allocatable.memory] | @csv'