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

Onyxia api could do better caching strategy when remote helm charts repository of catalogs are offline #224

Open
alexisdondon opened this issue May 23, 2023 · 1 comment

Comments

@alexisdondon
Copy link
Contributor

I have some onyxia catalog that are put in a gitlab helm registry.

When gitlab was on maintenance and the registry offline i could scroll catalog services but when i clicked on start a service it seems that onyxia- api failed to fetch registry and then the service is an error.

Onyxia could probably like CatalogRefresh do a better strategy to cache packages tar.gz in order to handle an offline helm registry when the catalog was already downloaded.

@olevitt
Copy link
Contributor

olevitt commented Jan 30, 2024

Onyxia relies on Helm for installing packages and, from my understanding, helm only caches the repository index, not individual packages. This means that at each install the package will be fetched resulting in a failure if your registry (actually the packages hosting) is offline.
There are some discussion on cache in helm project but it seems to be currently stale : helm/community#185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants