Configuration/Architecture
- Fix: ETL configuration was not properly passing remote bucket configuration
- Support for disabling emission of specific metrics by Kubecost
- Grafana dashboards cluster-util and label-cost-util: Fixed N/A values and errors
- Vulnerability "CVE-2021-3538" in dependency "github.com/satori/go.uuid" fixed
- The open source container is now interchangeable with the closed source container
- Helm chart supports custom args for cost-model and network-costs
- Kubecost now has a custom 504 error page to help debug 504 error cases where multiple gateway/proxy layers are present
- Configurable SAML session timeout and logout redirect URL
- Misc dependency version bumps
- Add IPv6 support
- Network Costs "updateStrategy" can be set via Helm values
- The KSM cluster role binding will not be deployed if KSM is disabled via "prometheus.kube-state-metrics.disabled=true"
Cost
- Fix: PV costs are no longer incorrectly duplicated in the event of a PVC being shared by multiple pods
- Fix: Savings summary and request sizing no longer double-apply discounts
- Fix: Idle costs were incorrect when filters are applied and adjustments are present
- Fix: Prometheus and Thanos clients handle rate limit responses, including AWS AMP 400 special-case throttling
- Fix: Avoid a nil panic in an Athena query failure edge case
- The abandoned workloads endpoint will fail more quickly in the event of bad data
- Reduced memory impact on startup for cloud asset/reconciliation processes
- Reduced memory impact for AWS users with cloud asset/reconciliation enabled
- Support for alert testing
- Fix: "/model/explainCA" no longer returns garbled error messages
- Fix: "/model/explainCA" returns HTTP error statuses for errors
- Kubecost's backing schema can be upgraded without rebuilding the ETL
- Fix: recurring alert duration now reported correctly
- Allocation API supports the "accumulateBy" parameter
Frontend
- Allocation: New treemap visualization of allocation data
- Diagnostics: Max and average node count, as calculated by Kubecost, visible
- Inspect: Support for label aggregation
- Allocation: Page now includes a link to Kubecost official documentation
- Savings: Fixed some mangled URLs
- Savings: savings.html should load more quickly and more stably
- Alerts: UI reworked for usability and adds alert testing functionality
- SAML: Logout button
- Overview + Savings: savings estimate being slow will not break the page (instead loading partially)
- Allocation: "NaN%" is replaced with "-" for external_resources
- Inspect: Useful failure message when data isn't available to display
- Allocation: On the details drilldown for an individual pod, the row values were being too-aggressively rounded to 2 decimal places while displaying 3. The values are now rounded to 3 decimal places.
- Cloud connection status: fixed "No Connection" status bug
- Namespace: disable unsupported modals (update namespace and budget) with tooltip explanation
Bugs fixed in this release:
- Replace json-iter library with go-json (kubecost/cost-model#1080)
- Sanitize window duration in ComputeClusterCosts (kubecost/cost-model#1074)
- If the Prometheus client returns a nil response, ignore retry and prevent seg fault (kubecost/cost-model#1081)
- Add support for additional AWS pricing regions (kubecost/cost-model#1087)
- Change window from 1d to 2d for request sizing for better content (https://github.com/kubecost/cost-analyzer-frontend/pull/527)
- Change window from 1d to 2d for Inspect page request sizing (https://github.com/kubecost/cost-analyzer-frontend/pull/528)
- Fix node on Allocation page detail dialog (https://github.com/kubecost/cost-analyzer-frontend/pull/529)
- Fix isGLUUProvider env var parsing (#1282)
- Revert "Change method of checking if networking.k8s.io/v1/Ingress is supported" (#1267)
Bugs fixed in this release: - Replace
Regions
function for AWS cloud provider (kubecost/cost-model#1090) - Fix concurrency bug that caused duplicates in Orphaned Resources (kubecost/cost-model#1094)
- Make map access thread-safe for AWS and Azure service checks (kubecost/cost-model#1093)
- Fix formatting in Alerts page (https://github.com/kubecost/cost-analyzer-frontend/pull/530)
- Fix double-counting of idle cost in efficiency card on Overview page (https://github.com/kubecost/cost-analyzer-frontend/pull/533)
- Fix colors and ordering of results in stacked Allocation bar chart on Overview (https://github.com/kubecost/cost-analyzer-frontend/pull/536)
- Disable shared tenancy costs for efficiency card on Overview page (https://github.com/kubecost/cost-analyzer-frontend/pull/538)