kubectl get nodes -o jsonpath='{.items[*].status.capacity}' | jq
{
"cpu": "2",
"ephemeral-storage": "80901592Ki",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "4012204Ki",
"pods": "110"
}
Iordanis Kazanas – Virtual Systems Administrator
kubectl get nodes -o jsonpath='{.items[*].status.capacity}' | jq
{
"cpu": "2",
"ephemeral-storage": "80901592Ki",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "4012204Ki",
"pods": "110"
}