<p>We want to fetch cost at namespace level in a K8S cluster Azure (AKS), we are using a tool called kubecost to get cost incurred by each namespace, kubecost is an efficient tool which provides these information. I have setup the secrets for kubecost to access the Rate API, so will the cost of resources be fetched based on our account or is it just a generic cost ? (from what i read its just a generic cost fetched from public azure doc)
Has anyone used it in AKS, or is there any better way to it ?</p>
<p>Thanks !</p>

Sanjay M. P.
<p>I have used Kubecost and have found that it is best out there for namespace level cost reporting.</p>
<blockquote>
<p>Kubecost provides accurate Spot pricing using the AWS Spot Instance
data feed. It can also assist with pod right-sizing. It tracks the
declared requests for containers and provides recommendations based on
usage. The included Grafana dashboards show you resource utilization
in your cluster.</p>
</blockquote>
<p><a href="https://aws.amazon.com/blogs/containers/how-to-track-costs-in-multi-tenant-amazon-eks-clusters-using-kubecost/" rel="nofollow noreferrer">https://aws.amazon.com/blogs/containers/how-to-track-costs-in-multi-tenant-amazon-eks-clusters-using-kubecost/</a></p>
<p><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html</a></p>
