If you are investigating the sizing of your cluster, and you want to verify which resources Kubernetes thinks are available on a node, you can use "kubectl describe" commands.
First, get a list of nodes so you can identify the node you would like to investigate:
kubectl get nodes
Use the name of the node from this list to reach the describe output:
kubectl describe node <node-name>
Scroll down to the "Capacity:" section where you can see information such as CPU cores, memory, and EBS volumes:
Capacity:
attachable-volumes-aws-ebs: 25
cpu: 8
ephemeral-storage: 81253764Ki
hugepages-1Gi: 0
hugepages-2Mi: 0
memory: 32401828Ki
pods: 110
If you would like this output by itself, you can use a jsonpath command and pipe it into jq for readability. For example:
kubectl get node <node-name> -o jsonpath='{.status.capacity}' | jq
{
"attachable-volumes-aws-ebs": "25",
"cpu": "8",
"ephemeral-storage": "81253764Ki",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "32401828Ki",
"pods": "110"
}