From fc685fea044ed7a3dd25a7e65a8f3f53f6b5b840 Mon Sep 17 00:00:00 2001 From: Mike Murphy Date: Fri, 20 Sep 2024 12:00:11 -0400 Subject: [PATCH 1/4] monthly savings calculation details --- using-kubecost/navigating-the-kubecost-ui/savings/savings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/using-kubecost/navigating-the-kubecost-ui/savings/savings.md b/using-kubecost/navigating-the-kubecost-ui/savings/savings.md index f43d45c7e..c1b50b301 100644 --- a/using-kubecost/navigating-the-kubecost-ui/savings/savings.md +++ b/using-kubecost/navigating-the-kubecost-ui/savings/savings.md @@ -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 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 total estimated monthly savings shown is ~60% of the sum of all cards to avoid overlap. In some cases, savings totals in cards such as Right-size container requests can be higher than the total estimated monthly savings due to how total estimated monthly savings is calculated. ![The Savings page](/images/savings.png) From 249174b39a344cd8f72425f22ca386f5fb35c429 Mon Sep 17 00:00:00 2001 From: Mike Murphy Date: Fri, 20 Sep 2024 12:11:22 -0400 Subject: [PATCH 2/4] fix conflicts --- integrations/integrating-kubecost-with-datadog.md | 2 +- using-kubecost/navigating-the-kubecost-ui/reports.md | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/integrations/integrating-kubecost-with-datadog.md b/integrations/integrating-kubecost-with-datadog.md index e06ee636a..048736ce0 100644 --- a/integrations/integrating-kubecost-with-datadog.md +++ b/integrations/integrating-kubecost-with-datadog.md @@ -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](https://gnu.org/software/wget/) * Datadog account with API key and account permissions to create dashboards * Kubernetes cluster with permission to access and deploy new workloads diff --git a/using-kubecost/navigating-the-kubecost-ui/reports.md b/using-kubecost/navigating-the-kubecost-ui/reports.md index 23c1afd29..deaf12e57 100644 --- a/using-kubecost/navigating-the-kubecost-ui/reports.md +++ b/using-kubecost/navigating-the-kubecost-ui/reports.md @@ -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. \ No newline at end of file From d2ffe255034021e574187f3017d01f99259ef737 Mon Sep 17 00:00:00 2001 From: Mike Murphy Date: Fri, 20 Sep 2024 12:18:51 -0400 Subject: [PATCH 3/4] fix conflicts --- install-and-configure/install/kubecostv2.md | 4 ---- integrations/integrating-kubecost-with-datadog.md | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/install-and-configure/install/kubecostv2.md b/install-and-configure/install/kubecostv2.md index cb3d34fc3..f49eb40e7 100644 --- a/install-and-configure/install/kubecostv2.md +++ b/install-and-configure/install/kubecostv2.md @@ -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+. diff --git a/integrations/integrating-kubecost-with-datadog.md b/integrations/integrating-kubecost-with-datadog.md index 048736ce0..e9ff80603 100644 --- a/integrations/integrating-kubecost-with-datadog.md +++ b/integrations/integrating-kubecost-with-datadog.md @@ -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://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 From a520dc046180d191befeee96f6876ddf25cf3eb8 Mon Sep 17 00:00:00 2001 From: Mike Murphy <36980248+mmurph3@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:17:07 -0400 Subject: [PATCH 4/4] Update using-kubecost/navigating-the-kubecost-ui/savings/savings.md lgtm Co-authored-by: Kai Wombacher --- using-kubecost/navigating-the-kubecost-ui/savings/savings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/using-kubecost/navigating-the-kubecost-ui/savings/savings.md b/using-kubecost/navigating-the-kubecost-ui/savings/savings.md index c1b50b301..b6accfbb2 100644 --- a/using-kubecost/navigating-the-kubecost-ui/savings/savings.md +++ b/using-kubecost/navigating-the-kubecost-ui/savings/savings.md @@ -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 total estimated monthly savings shown is ~60% of the sum of all cards to avoid overlap. In some cases, savings totals in cards such as Right-size container requests can be higher than the total estimated monthly savings due to how total estimated monthly savings is calculated. +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)