-
Notifications
You must be signed in to change notification settings - Fork 400
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
Chart version missing but the blob file exists #635
Comments
@tomqwu if you aren't using Redis as an external cache, each ChartMuseum pod maintains an in-memory cache of the index file. If you are running multiple ChartMuseum replicas, they will each maintain their own index and will be out of sync. You may be able to leverage the |
Single pod, multiple pods, the behaviour is the same. We also tried to redeploy with the new pod. Regardless of the number of pods, all pods show missing chart versions. The total blob files is less than 1000 binaries, and total size is less than 6mb |
@tomqwu what version of ChartMuseum are you running? I’d recommend upgrading to the latest version (if you aren’t already) |
We tried the latest version, same behaviour. |
if you want to sync whats in the backend storage with the index served by ChartMuseum, you can use the There was an issue in previous versions of ChartMuseum that could have caused this issue but upgrading to a new version may not retroactively "fix" the problem without using the Once the index is up to date with whats in your backend storage and you are using the latest ChartMuseum, I'd be interested if you run into this again. |
It’s interesting I thought about the cache interval, however we’ve made a few new deployment too without any previous state with same result, since our storage option is blob, there was no statefulset used.
… On Oct 28, 2022, at 2:47 PM, Casey Buto ***@***.***> wrote:
if you want to sync whats in the backend storage with the index served by ChartMuseum, you can use the --cache-interval flag.
There was an issue in previous versions of ChartMuseum that could have caused this issue but upgrading to a new version may not retroactively "fix" the problem without using the cache-interval flag.
Once the index is up to date with whats in your backend storage and you are using the latest ChartMuseum, I'd be interested if you run into this again.
—
Reply to this email directly, view it on GitHub <#635 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABGK3ITULGRX3H5G7QYVXD3WFQNV5ANCNFSM6AAAAAARLISA3U>.
You are receiving this because you were mentioned.
|
However, the azure blob file does exist
This randomly happens to many other charts, we don't have any redis cache, and memory usage seems fine in our pods
The text was updated successfully, but these errors were encountered: