mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-15 03:24:48 -05:00
Usage in Kubernetes #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Poulpatine on GitHub (Oct 22, 2023).
Originally assigned to: @tjbck on GitHub.
Hello,
I'm trying to use ollama-webui in Kubernetes but I can't figure how to make it work.
When I'm on the webui, I can list the models and launch a conversation but once I send a question, I don't receive any answer and the backend (ollama server pod) does not seems to consume any CPU.
I don't know if it's related but there is no Kubernetes equivalent of 'host.docker'internal' so, maybe the problem lies here ?
Beside that, I know that I've correctly configure my OLLAMA_ENDPOINT env variable because if I change it to a bad value I can not list the models.
Thanks for your help.
@tjbck commented on GitHub (Oct 22, 2023):
Just merged the static build PR #10 to main, could you please try again with the latest commit and see if that fixes your issue? It introduces breaking changes so your command should be replaced with the following instead:
Thanks!
@Poulpatine commented on GitHub (Oct 22, 2023):
Thanks for your reply.
I've made a test with the last commit (
585038f).(service-ollama is the hostname of the ollama container in my cluster)
But now I can't even see the models.
@tjbck commented on GitHub (Oct 22, 2023):
@Poulpatine Could you provide us a screenshot of your console logs from your browser's developer tools? Thanks.
@Poulpatine commented on GitHub (Oct 23, 2023):
Hi,
here are the logs :
yyy.xxx.org is my publicly exposed domain.
@Poulpatine commented on GitHub (Oct 23, 2023):
Ok,
the problem was that the backend was not:
I've fixed both issues and now everything is ok.
Thanks for your help.
Btw, do you plan to provide a way to set variables at runtime instead of build time ?
Thanks.
@tjbck commented on GitHub (Oct 23, 2023):
@Poulpatine Glad you were able to fix the issue! I'm thinking of adding a feature where you could edit the API_BASE_URL dynamically on the Web UI. I'll keep you updated once I merge the dev branch with the feature. Have a nice day!
@tjbck commented on GitHub (Oct 25, 2023):
@Poulpatine Just merged the dev branch to main with the Ollama server URL edit feature. Give it a try!
@Poulpatine commented on GitHub (Oct 25, 2023):
@tjbck I just did it. It's great !
I've also tested the model management feature which is cool too.
Thanks !