kubecost / kubectl-cost

CLI for determining the cost of Kubernetes workloads
Apache License 2.0
913 stars 60 forks source link

PV cost not working #94

Open kaelanspatel opened 3 years ago

kaelanspatel commented 3 years ago

With https://github.com/kubecost/kubectl-cost/pull/91 and https://github.com/kubecost/kubectl-cost/pull/93, the PV cost field when using --show-pv or -A shows zeros, due to the marshalling of the pvs not working and because pvCost doesn't exist in the Allocation struct. Thus, we're not getting a value for the PV cost.

Either fixing the marshalling of the pvs here or just creating a workaround would both solve the problem.

Adam-Stack-PM commented 1 year ago

This issue has been marked as stale because it has not had recent activity. It will be closed if no further action occurs.

michaelmdresser commented 1 year ago

I believe this is still an issue.