How to find your allocated vCPU?
Learn how to retrieve the number of CPU Units per Kubernetes node to find your perfect license
Last updated
Learn how to retrieve the number of CPU Units per Kubernetes node to find your perfect license
Last updated
To provide a more accurate cost metric and improve pricing transparency, the PerfectScale solution is licensed by the amount of vCPU/h your clusters consume monthly.
There are a few ways to determine your vCPU consumption:
Navigate to your Subscription Details and check the Current Month vCPU Consumption
that PerfectScale has already calculated for you.
To get more details and review vCPU consumption over-time run a trends report following two easy steps:
Go to the Trends tab
Select 'Allocated vCPU' in the Scope drop-down list.
With your observability tool, like Grafana and DataDog you can either use some existing dashboard or create a new graph summarizing cluster capacity. For example, Prometheus can be used to create a visualization of cluster capacity, as shown below:
In the above example, the allocated vCPU is around 90 cores. We can estimate monthly core hours as 90*24*30 = 64800
Use the terminal following the guide below:
Open a new terminal on the machine that has kubectl
been installed. Make sure you are running in the correct context (=cluster)
Type the following command on the prompt:
This will show you the currently running instances and their core capacity at a single point in time:
Now you can summarize the cores to have cluster cores right now
. You can multiply this number by 24*30 to have a monthly estimate.
If your cluster has a dynamic nature, this approach may be less accurate than Observability tools or PerfectScale.