feat(open-webui): deploy Open WebUI with litellm backend #172
Reference in New Issue
Block a user
Delete Branch "issue-155-open-webui-litellm"
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?
Closes #155
Summary
apps/base/open-webui/kustomize base with Namespace, Deployment, Service, PVC, Gateway, HTTPRoute, VaultAuth, and VaultStaticSecret manifestscephrbd-fast-deletePVC for persistent chat history — avoids the CNPG overhead since Open WebUI requires sticky sessions and single-replica is appropriatehttp://litellm-pooler.litellm.svc.cluster.local:4000usingOPENAI_API_BASE_URLchat.k8s.syd1.au.unkin.netthrough thetraefik-externalgateway with TLS terminated by cert-manager (vault-issuer)OPENAI_API_KEY,WEBUI_SECRET_KEY, and any OAuth keys) injected via VaultStaticSecret fromkv/kubernetes/namespace/open-webui/default/open-webui-credentialsapps/overlays/au-syd1/open-webui/kustomization.yamlpointing at the baseapps/overlays/*/open-webuipath to theaitooling-appsApplicationSet generatoropen-webuinamespace to theaitoolingAppProject destinationsPre-deploy checklist
kv/kubernetes/namespace/open-webui/default/open-webui-credentialswith keys:OPENAI_API_KEY(litellm master key),WEBUI_SECRET_KEY(random 32-char string)OAUTH_CLIENT_ID,OAUTH_CLIENT_SECRET,OPENID_PROVIDER_URLto the same secret for Kanidm SSOghcr.io/open-webui/open-webuitoapps/base/artifactapi/resources/conf.d/remote-docker.yamlin a separate PR (as noted in the issue)Test plan
aitooling-open-webuiapplication successfullyRunningstate and passes health checks at/healthhttps://chat.k8s.syd1.au.unkin.netloads the Open WebUI interfaceView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.