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

Available memroy in kubecost-cost-analyzer PVC is gradually decreasing #3701

Open
2 tasks done
MageshSrinivasulu opened this issue Oct 7, 2024 · 7 comments
Open
2 tasks done
Labels
bug Something isn't working needs-triage

Comments

@MageshSrinivasulu
Copy link

Kubecost Helm Chart Version

2.4.0

Kubernetes Version

1.29

Kubernetes Platform

EKS

Description

Here is the graph that shows the available memory in the disk kubecost-cost-analyzer the trend in gradually trending lower. The sudden spike in availability is because I adjusted the etlDailyStoreDurationDays but it is not helping much still the memory slowly decreasing

image
is

Steps to reproduce

Deploy the latest helm. Integrate the Kubecost with your billing account and run it for some time. you will see the memory in PVC getting reduced gradually

Expected behavior

memory should be either getting freed up or available memory should not reduce gradually

Impact

Available memory in PVC keeps on getting reduced will soon run out of free space

Screenshots

image

Logs

No response

Slack discussion

https://kubecost.slack.com/archives/CLFV60Y90/p1728277157577009

Troubleshooting

  • I have read and followed the issue guidelines and this is a bug impacting only the Helm chart.
  • I have searched other issues in this repository and mine is not recorded.
@MageshSrinivasulu MageshSrinivasulu added bug Something isn't working needs-triage labels Oct 7, 2024
@AjayTripathy
Copy link
Contributor

@MageshSrinivasulu we'd expect this then to stabilize when you've hit your number of retention days. What's your retention number and how many days are you seeing in the UI now?

@MageshSrinivasulu
Copy link
Author

@AjayTripathy I have set the etlDailyStoreDurationDays to 30 from its default configuration of 91 days. Can you please specify the helm configuration you are referring to?

@MageshSrinivasulu
Copy link
Author

MageshSrinivasulu commented Oct 10, 2024

Below are the folders that have very high memory usage

kubecost-cost-analyzer is attached to the path /var/configs

image

@MageshSrinivasulu
Copy link
Author

I had to clear some older files in the path /var/configs/localBucket/billing_integrations/<AWS-ACCOUNT>-s3:--<S3-BUCKET>/cloud_costs/bingen/1d on the pod to solve the issue temporarily. This will not be a sustainable solution in the long run. How to configure this routine clean up using helm deployment?

@MageshSrinivasulu
Copy link
Author

@MageshSrinivasulu we'd expect this then to stabilize when you've hit your number of retention days. What's your retention number and how many days are you seeing in the UI now?

image

@AjayTripathy Is this the one you are speaking about?

@AjayTripathy
Copy link
Contributor

AjayTripathy commented Oct 14, 2024

yes. It will gradually increase until that time window then should stabilize.

@MageshSrinivasulu
Copy link
Author

MageshSrinivasulu commented Nov 27, 2024

It has been more than 30 days since I made the changes. It keeps decreasing gradually. It is not getting stabilized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants