TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Kubernetes Cost Management with the New OpenCost Plugin for Headlamp

57 点作者 yolossn9 个月前

4 条评论

nopurpose9 个月前
Is there a way to allocate cost to every pod on a node when node cost is given without break down by resource type and pod resources are not in same ratio as node resources?<p>Lets say node has 8 CPUs and 32 GB RAM (1:4 ratio). If every pod uses same ratio for its CPU:MEM then math is simple: node cost is split across all pods proportional to their resource allocation.<p>How to make fair calculation if pod resource ratio is different? In extreme it is still simple - lets say there is a pod with 8 CPU and 2 GB RAM, because no pods can fit into node whole node cost is allocated to that pod.<p>What if running pod is 6 CPU and 16 GB RAM and another pod with 2 CPU and 16 GB RAM is squeezed in. How to allocate node cost to each? It can&#x27;t be just node cost &#x2F; # of pods, because intiutively beefier pods should recive larger share of node cost as they prevent more smaller pods to fit in, but how exactly to calculate it? &quot;weight&quot; of pod on CPU dimenstion is different than on MEM dimension.
评论 #41249973 未加载
评论 #41247090 未加载
评论 #41247053 未加载
psibi9 个月前
I was going through Opencost documentation which this project uses and it looks you need to setup AWS Athena if you want the cloud cost to be displayed for AWS: <a href="https:&#x2F;&#x2F;www.opencost.io&#x2F;docs&#x2F;configuration&#x2F;aws#aws-cloud-costs" rel="nofollow">https:&#x2F;&#x2F;www.opencost.io&#x2F;docs&#x2F;configuration&#x2F;aws#aws-cloud-cos...</a><p>Does the Athena does the actual processing&#x2F;computation of costs ? What is the usual cost for running Athena ?<p>It also seems strange that I have to put the IAM keys into secrets instead of using IAM role for service account for configuring it.
评论 #41246008 未加载
jakepage919 个月前
Is the cost shown only the prices incurred post plugin integration or is there a way to show retroactive costs by comparing k8s object creation dates for example?
评论 #41246684 未加载
cudder9 个月前
So is Headlamp the state of the art in Kubernetes cluster management ever since Mirantis first enshittified Lens and then tucked away its sources?
评论 #41247594 未加载
评论 #41245791 未加载
评论 #41245664 未加载