AKS / VM pricing by resource-usage?

previousversiondocs 56 Reputation points
2023-09-06T10:06:17.4133333+00:00

Hello there,

I have a cluster which runs on a node with for example 8 CPU and 32GB RAM.
I also have a HPA (Horizontal Pod Autoscaler) that increases the number of Pods depending on incoming requests and resource useage.

I now want to set a resource-limit in kubernetes, how many CPU and RAM a single pod can use at max, and if this limit is reached, I want to add a new pod on this node.

So if there is only a few requests, only one pod is running and it is consuming lets say only 1 CPU and 2GB RAM.

So until there are many requests => more pods => more Resource usage, I pay For the other 7CPU and 30GB RAM without using it.

Is it possible to set up Payment per bandwidth or resource-usage?

Or can I only choose a VM-Size for a Cluster and always pay the whole price?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,146 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Eddie Neto 1,226 Reputation points Microsoft Employee
    2023-09-06T10:36:50.3466667+00:00

    Hi @previousversiondocs

    Thanks for reaching Microsoft Q&A

    For now, the options that we have for saving cost are below:

    Hope this helps. Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.