kubecost / kubectl-cost

CLI for determining the cost of Kubernetes workloads
Apache License 2.0
872 stars 55 forks source link

Fix request sum returning non-totaled GPU #142

Closed michaelmdresser closed 1 year ago

michaelmdresser commented 1 year ago

How does this PR impact users? (This is the kind of thing that goes in release notes!)

Fix resource cost prediction using only the GPU requested for a single replica. It now uses the GPU requested totaled across all replicas.

How was this PR tested?

Updated test spec, observed expected GPU count for multi-replica Deployment.