Kubeapps: See status of AppRepository syncs (especially failures) in UI

Created on 6 Mar 2018  路  5Comments  路  Source: kubeapps/kubeapps

See also https://github.com/kubeapps/dashboard/issues/7

Since AppRepository syncing is done asynchronously, we can't really report back a status immediately after adding a repo. But the App Repositories configuration page should report the status:

  • See when syncs are happening
  • See if a sync has failed, check logs of failing sync
  • See a healthy status if syncs are succeeding

This will require a read-only list/get/logs for pods in the kubeapps namespace.

componenapprepository-controller componendashboard help wanted kinfeature prioritlow

Most helpful comment

It would be nice to complement this with the number of charts retrieved from that source.

All 5 comments

It would be nice to complement this with the number of charts retrieved from that source.

Related, it'd be great to validate the user input when adding a repository (ie. verifying the repo can be contacted with the entered details).

That may be difficult to check. The registry may be accessible only within the cluster (so it's not possible to reach it from the local dashboard). Unless we run the chart-repo job with a dry-run option or something.

Yeah, though it's another thing which would be trivial if the app repository was being added via a backend, rather than directly from the dashboard (I mean in that the backend, which is in the cluster, can validate the data before actually creating the resource, or responding with a 4xx with a reason for the failure).

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings