InseeFrLab / legacy-onyxia-entrypoint

🔬 A data science oriented container launcher
MIT License
69 stars 3 forks source link

[Feature request] add information about catalog and chart version #47

Open alexisdondon opened 2 years ago

alexisdondon commented 2 years ago

Add information about catalog and chart version

Issue

When deploying new catalog chart version for an onyxia catalog, we dont need to redeploy onyxia api since the api could fetch the catalog based on configuration settings.

Anyway there is no real visual indication about when the catalog is updated, when there is multiple api pod the problem could be harder as one api could have updated catalog and another not yet.

Workaround

Display in each card the version of the chart in the catalogue in small caracter ( the api already give it in /catalog endpoint)

alexisdondon commented 2 years ago

FEATURE EXTENSION

In case of multiple instances of api, we could extend this feature to include the chart version in the request (payload or header) the instance of api on which the request will be send could :

if version of the chart sent is the same that his current version chart then the instance could handle the request else on your choice return an error or force the refresh of catalog.

fcomte commented 2 years ago

I think we should go further and handle all versions of a chart :

It will help us to show to our user that some of their saved services is an old versions of a chart.