Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monthly savings calculation details #1134

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions install-and-configure/install/kubecostv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Kubecost v2 introduced massive functionality changes including changes to the backend architecture. This may require additional changes be made to your environment before upgrading from an older version of Kubecost to 2.0+. This article reviews several different common configurations and explains any necessary steps to take.

{% hint style="danger" %}
After upgrading to v2, it's possible saved reports may not properly display in the Kubecost UI. Follow [this solution](/using-kubecost/navigating-the-kubecost-ui/reports.md#saved-reports-not-appearing-in-kubecost-ui-after-upgrading-to-v2) if you experience this problem.
{% endhint %}

## Single cluster users

If you have a single cluster installation of Kubecost (i.e. one primary Kubecost instance on each cluster), then you can follow the standard upgrade process for Kubecost 2.0+.
Expand Down
2 changes: 1 addition & 1 deletion integrations/integrating-kubecost-with-datadog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Datadog is a monitoring and security platform which teams use for cloud applicat

Before you get started, you will need the following:

* Install [kubectl](https://kubernetes.io/docs/tasks/tools/), [Helm](https://helm.sh/docs/intro/install/), and [GNU Wget](https://www.gnu.org/software/wget/)
* Install [kubectl](https://kubernetes.io/docs/tasks/tools/), [Helm](https://helm.sh/docs/intro/install/), and GNU Wget
* Datadog account with API key and account permissions to create dashboards
* Kubernetes cluster with permission to access and deploy new workloads

Expand Down
12 changes: 1 addition & 11 deletions using-kubecost/navigating-the-kubecost-ui/reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,4 @@ data:

3\. Ensure that the JSON string is successfully mapped to the appropriate configs

Navigate to your Reports page in the Kubecost UI and ensure that the configured report parameters have been set by selecting the Report name.

### Saved reports not appearing in Kubecost UI after upgrading to v2

After upgrading Kubecost to v2, saved reports may not properly display in the Kubecost UI. To properly transfer over saved reports, download this [`copy-reports.sh` file](https://github.com/kubecost/kubecost-utilities/blob/main/copy-reports/copy-reports.sh), then run the following command:

```
bash copy-reports.sh
```

Saved reports should then populate in your upgraded Kubecost version.
Navigate to your Reports page in the Kubecost UI and ensure that the configured report parameters have been set by selecting the Report name.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Savings

The Savings page provides miscellaneous functionality to help you use resources more effectively and assess wasteful spending. In the center of the page, you will see your estimated monthly savings available. The savings value is calculated from all enabled Savings features, across your clusters and the designated cluster profile via dropdowns in the top right of the page.
The Savings page provides functionality to help you use resources more effectively and assess wasteful spending. In the center of the page, you will see your estimated monthly savings available. The savings value is calculated from all enabled Savings features, across your clusters and the designated cluster profile via dropdowns in the top right of the page. In our experience, teams are only able to achieve about 60% of the total savings available across all Savings features. Thus, the total estimated monthly savings shown is 60% of the sum of all cards. It's worth noting that this could lead to cases where savings shown for an individual Savings feature (such as Right-size container requests) are higher than the total estimated monthly savings.

![The Savings page](/images/savings.png)

Expand Down