opendatahub-io / odh-dashboard

Dashboard for ODH
Apache License 2.0
28 stars 166 forks source link

[Story]: Add logic to detect if kserve or modelmesh are installed #1946

Closed lucferbux closed 1 year ago

lucferbux commented 1 year ago

Goal

Add a logic to detect if both kserve and modelmesh are installed in the cluster

Dependency issue

No dependencies

Itemized goals

This issue is dependant of https://github.com/opendatahub-io/odh-dashboard/issues/1979

Aspects continued elsewhere

No response

Mocks

No mocks

lucferbux commented 1 year ago

@danielezonca @Xaenalt @andrewballantyne @christianvogt This is one of the technical challenges we've been discussing in the docs, is there a way to figure out if either kserve or modelmesh are installed outside of the CRDs? We need to detect each of them.

andrewballantyne commented 1 year ago

DSC will have the values. https://github.com/opendatahub-io/opendatahub-operator/issues/588 -- this is not likely to be done in time, so we will make a shim layer in our backend to get the Service Account to pull them. The .status of components installed will have your answer.

lucferbux commented 1 year ago

Ok, so we can have a layer for this release to check the status of the controller, and add a follow up to refactor it with the DSC values.