I have a Kubernetes cluster of around 18 nodes where few are with 4 cores and 16G RAM, and few are with 16 core and 64G RAM, and there are around 25-30 applications running on the cluster.
Each of the applications are configured with requests and limit parameter, around 2-3cores & 4-8G ram and allocated to each of the application.
Now how do I get the current utilization report saying how many cores/ram I am left within the current cluster? before deploying any new application.
I tried using the below commands:
kubectl top no; kubectl describe no [node-name]
These are not giving me the exact no. of cores or ram I am left with.
Any leads to this will help a lot.
Note: I am using version 1.19 of Kubernetes.
kubectl describe node <insert-node-name-here>
You should see something like this: