Files
open-webui-docs/docs/getting-started/quick-start/tab-kubernetes/Helm.md

1.4 KiB

Helm Setup for Kubernetes

Helm helps you manage Kubernetes applications.

Prerequisites

  • Kubernetes cluster is set up.
  • Helm is installed.

Helm Steps

  1. Add Open WebUI Helm Repository:

    helm repo add open-webui https://open-webui.github.io/helm-charts
    helm repo update
    
  2. Install Open WebUI Chart:

    helm install openwebui open-webui/open-webui
    
  3. Verify Installation:

    kubectl get pods
    

:::warning

If you intend to scale Open WebUI using multiple nodes/pods/workers in a clustered environment, you need to setup a NoSQL key-value database. There are some environment variables that need to be set to the same value for all service-instances, otherwise consistency problems, faulty sessions and other issues will occur!

:::

:::danger Critical for Updates If you run Open WebUI with multiple replicas/pods (replicaCount > 1) or UVICORN_WORKERS > 1, you MUST scale down to a single replica/pod during updates.

  1. Scale down deployment to 1 replica.
  2. Apply the update (new image version).
  3. Wait for the pod to be fully ready (database migrations complete).
  4. Scale back up to your desired replica count.

Failure to do this can result in database corruption due to concurrent migrations. :::

Access the WebUI

Set up port forwarding or load balancing to access Open WebUI from outside the cluster.