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

LangFlow IDE custom workbench needs two ~pods~ (containers?): one for frontend, other as backend #831

Closed
chaturvedi-kna opened this issue Jan 10, 2025 · 4 comments
Labels
kind/question Further information is requested

Comments

@chaturvedi-kna
Copy link

Hi Guys,

I am looking to deploy LangFlow IDE as custom workbench and use it to connect to model running using Ollama runtime on ODH, but I am bit confused if that can be done or not as it has two pods one for frontend, other as backend are running as part of the deployment.

Related link

It would be great if someone can provide some guidance.

@chaturvedi-kna chaturvedi-kna added the kind/question Further information is requested label Jan 10, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in ODH IDE Planning Jan 10, 2025
@jiridanek
Copy link
Member

In Kubeflow Notebooks 1, you are allowed to specify more than one container in your pod, so this part is implemented. The problem is that when ODH Dashboard is used to spawn the workbench, it cannot do this for you and only one container is permitted there. This means that in ODH/RHOAI there is no way to spawn the workbench you want through Dashboard. You'd have to upload Notebook CR manually and users would need to take care not to try to edit it in the Dashboard.

For upcoming Kubeflow Notebooks 2, I think the situation is a little better than in Notebooks 1; even though I am not aware of any specific thinking around deploying multiple containers, the workaround I described above should be somewhat more robust in practice, with users not being able to break it for themselves once it's been set up.

If you'd like this for Red Hat OpenShift AI, then please fill a https://issues.redhat.com/projects/RHOAIRFE/issues ticket.

@jiridanek jiridanek changed the title Info Needed regarding BYON LangFlow IDE custom workbench needs two pods: one for frontend, other as backend Jan 10, 2025
@jiridanek jiridanek changed the title LangFlow IDE custom workbench needs two pods: one for frontend, other as backend LangFlow IDE custom workbench needs two ~pods~ (containers?): one for frontend, other as backend Jan 10, 2025
@chaturvedi-kna
Copy link
Author

Hi @jiridanek Thanks for the reply.

I understand that two containers in one workbench is possible by applying CR but in this case of Langflow it has two pods architecture so is there any workaround for the same.

In case it is not possible as workbench if we go ahead and deploy it as an application on OCP, I want to confirm that you foresee any issue when Langflow has to communicate with model which is running on ODH (with respect to auth or something else).

@jiridanek
Copy link
Member

For future reference, consider asking in the Kubeflow upstream; for example we had a discussion with @shalberd that lead to opening

because the concern was not specific to ODH, but it was a general Kubeflow concern. And so is running these fancy workbenches.

In case it is not possible as workbench if we go ahead and deploy it as an application on OCP

That sounds like a good way forward to me, yes. Does it have any negatives for you over being able to use it as a workbench?

@chaturvedi-kna
Copy link
Author

chaturvedi-kna commented Jan 21, 2025

Sorry for the delayed reply I was on a trip, I did proceed with OCP deployment.
Thought everything would be on a single page if used workbenches.

For future reference, consider asking in the Kubeflow upstream

Sure, I will keep that in mind from next time on..

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅Done in ODH IDE Planning Jan 21, 2025
@jiridanek jiridanek closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
Status: Done
Development

No branches or pull requests

2 participants