How does this PR impact users? (This is the kind of thing that goes in release notes!)
Added --show-total and --hide-diff flags to kubectl cost predict. "Total" cost is the expected monthly cost of each workload if the new spec were applied to your cluster. "Diff" cost (the default) is the expected monthly cost change of applying each new spec to your cluster.
Links to Issues or ZD tickets this PR addresses or fixes
→ go run cmd/kubectl-cost/kubectl-cost.go predict -r michaelkc -f ./test/multi.yaml --hide-diff
Error: validate: validating display options: ShowTotal and HideDiff cannot be set such that no data will be shown
exit status 1
What does this PR change?
See release note.
How does this PR impact users? (This is the kind of thing that goes in release notes!)
--show-total
and--hide-diff
flags tokubectl cost predict
. "Total" cost is the expected monthly cost of each workload if the new spec were applied to your cluster. "Diff" cost (the default) is the expected monthly cost change of applying each new spec to your cluster.Links to Issues or ZD tickets this PR addresses or fixes
https://kubecost.atlassian.net/browse/CORE-113
How was this PR tested?
Have you made an update to documentation?
Yes, the help text.