Deploying LiteLLM on Kubernetes with Helm

Install the LiteLLM proxy on EKS, GKE or AKS with the official charts, external PostgreSQL and Redis, and production-grade secrets, ingress and replica settings.

On this page

Deploying LiteLLM on Kubernetes with Helm for production gateways

A platform team that needs one shared AI gateway, with virtual keys, budgets and request logs, can run the LiteLLM proxy in its own Kubernetes cluster and keep prompts and spend data inside infrastructure it controls. The proxy sits between applications and model providers, accepts requests in the OpenAI format, and forwards them to more than 100 providers, while issuing keys, enforcing budgets and recording usage. Kubernetes is a common host because it gives the team rolling upgrades, replica management, network policy and the same operating model it already uses for other internal services. Helm is the packaging route most teams start with, but the chart is only the starting point: the production decisions sit in what the chart points at.

Production use changes the baseline. LiteLLM's production guide names PostgreSQL as the primary supported database, and virtual keys, budgets and spend tracking all depend on it, so the database should be an external managed or self-run instance rather than a bundled throwaway. Once more than one proxy instance runs, the guide requires Redis 7.0 or newer for shared rate limits, router state and cache, so Redis is also external. The guide recommends one Uvicorn worker per pod and scaling horizontally with replicas, which means the replica count is a sizing decision tied to database connections and Redis capacity, not a single number to copy from an example. Master keys, which must start with sk-, belong in a secret manager that feeds the cluster through your chosen secrets integration, not in a values file committed to Git.

Before installing, confirm with your team which chart fits your operating model, which Kubernetes version your managed service supports, and how your cluster enforces Secrets encryption at rest, since Kubernetes stores Secrets unencrypted in etcd by default. Confirm that the database and Redis endpoints are reachable only from the gateway namespace, that ingress terminates TLS in a controlled place, and that someone owns the upgrade cadence for the LiteLLM release line. Those four checks decide whether the first install is a pilot or something your security and compliance reviewers will accept as production.

Choosing between the monolithic and componentized Helm charts

This table compares the monolithic litellm-helm chart with the componentized litellm chart, along with the external database, Redis, ingress and replica settings that apply to both. Read each row against the chart version you intend to pin, because value names and defaults change between releases. The main takeaway is that the componentized layout buys independent scaling and smaller upgrade blast radius at the cost of more objects to operate.

Decision pointMonolithic litellm-helm chartComponentized litellm chart
What runs in each podOne LiteLLM image serves proxy traffic, management APIs and the admin UI togetherGateway, backend and UI run as separate workloads that can be deployed and scaled independently
Migrations jobDatabase migrations run as part of the single release; confirm the hook and ordering in your pinned versionConfirm whether the migrations job is a separate hook and which workload waits on it before rollout
Scaling granularityReplica count applies to the whole application, so UI and management pods scale with proxy trafficReplica counts can be set per component, so gateway pods can grow without adding UI pods
Upgrade blast radiusA bad image or config change affects proxy traffic and the admin UI in the same rolloutA change to one component can be rolled out and rolled back without touching the others, if your version supports it
Operational overheadFewer Kubernetes objects and one set of values to review and testMore Deployments, Services and values blocks to track, monitor and keep consistent across environments
Best fitSmall or single-region deployments with modest traffic and a small platform teamProduction gateways with separate traffic and admin patterns, or teams that want per-component release control
External PostgreSQL and RedisPoint the chart at managed PostgreSQL and Redis endpoints and store credentials in Kubernetes Secrets or an external secret storeSame pattern, with the option to disable in-cluster subcharts so both charts rely on managed services
Ingress and replicasConfigure one ingress and one replica setting for the application; confirm the ingress class and TLS keys for your pinned versionConfigure ingress for the gateway path and set replicas per component; confirm which component serves the admin UI route

Installing LiteLLM on EKS, GKE or AKS step by step

This sequence takes a team from a supported Kubernetes cluster to a LiteLLM gateway that accepts a key-authenticated test request, with each step checked before the next one starts.

  1. Confirm the cluster version is supported

    The platform engineering lead checks the cluster's Kubernetes minor version against the release page before anything else is installed. The project maintains the three most recent minor releases, and the version skew policy limits how far kubelets can lag behind the API server, so an older cluster may need an upgrade first. Confirm the managed control plane version on EKS, GKE or AKS and record it with the change ticket. The step is done when the version is written down and sits within the supported set.

  2. Provision external PostgreSQL and Redis

    The data platform team creates a PostgreSQL database for LiteLLM, which the production guide names as the primary supported database, and a Redis service running version 7.0 or newer. Redis is required once more than one proxy instance runs, because rate limits, router state and cache must be shared across pods. Place both in the same network as the cluster, restrict access to the cluster's node or pod subnets, and confirm connectivity from a debug pod. The step is done when a test connection to each service succeeds from inside the cluster.

  3. Store secrets in a secret manager and sync them

    The security team generates LITELLM_MASTER_KEY, which must start with sk-, and stores it with the database connection string and the Redis credentials in the cloud secret manager. Use the cluster's secrets integration, such as the Secrets Store CSI Driver, so values are not written into Helm values files. Kubernetes Secrets are stored unencrypted in etcd by default, so confirm encryption at rest is enabled and that RBAC limits who can list or watch them. The step is done when the pod can read the secret and no plaintext value appears in the chart repository.

  4. Run the migrations job before rollout

    The platform engineer runs the database migrations as a job that completes before the gateway deployment rolls out, so the schema matches the release before any proxy pod serves traffic. Pin the chart and image to the same release line, and check the release notes for any required migration steps before the upgrade. Watch the job logs until it reports success, then confirm the gateway pods start without schema errors. The step is done when the job completes and the tables it creates are visible in the database.

  5. Configure ingress and TLS

    The network team creates an ingress for the gateway hostname, using the load balancer type that matches the cluster platform on EKS, GKE or AKS, and attaches a certificate from the organization's issuer. Decide whether the admin UI and the API share the hostname, and restrict admin paths to approved networks where the platform allows it. Confirm the certificate chain is trusted by the callers. The step is done when an HTTPS request to the hostname returns a valid certificate and the expected response from the ingress.

  6. Deploy with pinned chart and image versions

    The platform engineer installs the chart with explicit version pins for both the chart and the container image, and sets replica counts for production. LiteLLM recommends one Uvicorn worker per pod on Kubernetes and scaling horizontally, so scale replicas rather than workers. Store the values file in version control and apply it through the team's normal deployment path. The step is done when the rollout finishes and every pod reports ready.

  7. Verify health and the admin endpoints

    The operations engineer checks the liveness and readiness endpoints on each pod, then confirms the gateway reports a healthy database and Redis connection through its health route. Review the pod logs for connection errors and confirm each replica reports the same configuration. Repeat the check after any scale change. The step is done when all replicas pass readiness and the logs show no database or Redis errors.

  8. Create a key and send a test request

    The platform engineer uses the master key to create a virtual key with a narrow model list and a small budget, then sends one test request through the ingress to a model the team has approved. Check that the response arrives, that the request appears in the spend and request logs, and that a request for a model outside the key's list is refused. Record the key identifier and the test results in the change record. The step is done when the allowed request succeeds, the restricted request is blocked and the spend entry is visible.

How a request and its secrets move through the cluster

The diagram starts at the client calling the ingress, which forwards traffic to LiteLLM pods. Each pod reads its settings from Kubernetes Secrets, which are fed from an external secret store. The pods use PostgreSQL for virtual keys and spend records and Redis for shared state across replicas, and a migrations job prepares the database before the pods start. The trust boundary sits at the cluster edge, where outbound calls leave for model providers. Check that the secret store, not the chart values file, holds the LITELLM_MASTER_KEY and provider credentials.

Request, data store, secret and outbound paths across the cluster boundary.

Securing secrets, RBAC and the cluster around LiteLLM

A LiteLLM pod is only as protected as the cluster that runs it. The database URL, the master key, provider API keys and the admin login all reach the pod through Kubernetes objects, so the controls below decide who can read them. Treat each card as a check to run before the first production release.

Encrypt Secrets at rest in etcd

Kubernetes stores Secrets unencrypted in etcd by default, so anyone with read access to etcd backups or the control plane disks can recover the database password, the master key and provider keys. Confirm that encryption at rest is enabled on your managed or self-managed control plane, and check that etcd snapshots taken for backup are protected the same way. Ask your cloud provider or distribution team to show the setting, not just the claim.

Secrets good practices

Restrict list and watch on Secrets

Read access to a namespace's Secrets is broader than it looks, because list and watch verbs return every secret value in the namespace. Grant the LiteLLM service account only the get access it needs on its own named secrets, and keep platform operators, CI runners and other application teams out of the namespace's Role bindings. Review bindings after each Helm release, since charts can create roles of their own.

Use an external secret store

If your organization already runs a secret manager, pull credentials into pods through the Secrets Store CSI Driver rather than storing long-lived values as Kubernetes Secrets. LiteLLM's enterprise documentation lists integrations with AWS, Azure, Google, HashiCorp Vault and CyberArk, so confirm which of these your edition supports before you design around one. Plan how rotation reaches running pods, because a changed secret often needs a restart.

Apply least-privilege RBAC

Role-based access control decides who can change the LiteLLM Deployment, its ConfigMaps and its ingress, which is often more dangerous than reading a secret. Separate the people who deploy the chart from the people who only view logs, and bind each to the narrowest Role that covers their work. Keep cluster-admin out of day-to-day pipelines and record who holds it.

Enforce Pod Security Standards

Set a Pod Security Standards level on the LiteLLM namespace, using the restricted profile where the image allows it. Restricted pods run as non-root, drop Linux capabilities and disallow privilege escalation, which limits what a compromised proxy can reach. Test the chart's security context in a staging namespace first, because the default settings may need small changes to meet the profile.

Pod Security Standards

Protect the admin UI and master key

The LITELLM_MASTER_KEY must start with sk- and grants full administrative control, so it should never appear in a values file, a Git repository or a CI log. Reference it from a secret manager or an existing Kubernetes Secret, and rotate it on a schedule you can document. Put the admin UI behind your identity provider and restrict its network path, since the same host also serves gateway traffic.

Setting replica counts and control plane resilience for production

A pilot exists to prove that the chart installs, that callers reach the gateway and that keys, budgets and logs behave as expected. A single replica of the gateway is enough for that purpose, but the pilot should still run on at least two worker nodes so that a rescheduled pod has somewhere to go. Treat the pilot's topology as a test fixture rather than a template for production, and record which settings you changed so they are not carried forward by accident.

  • Replica count: One gateway replica is acceptable for functional testing, with the understanding that a node drain or upgrade causes an outage.
  • Node spread: Use at least two worker nodes so pod rescheduling is possible during node maintenance.
  • Control plane: A managed control plane from EKS, GKE or AKS is usually sufficient for a pilot, so the team does not need to run its own control plane resilience.
  • Database and Redis: Use the same external PostgreSQL and Redis topology you plan for production where possible, so migration and connection behavior is tested early.
  • Documentation: Write down every value that differs from the production plan.

Before promoting the pilot, confirm with your platform team which control plane your cloud provider operates and what their availability commitments are for that service.

Limits and what to confirm before you deploy

The chart, image, release line and cloud services all move on their own schedules, so the values you deploy depend on confirming several versions at once. The cards below list what to verify in your own environment before you write a values file. None of them is a claim about a current chart or cloud offering; each one is a check to close.

Chart version and values keys

Pin the exact chart version and read its values schema before you copy any example. The componentized chart and the monolithic chart use different keys, so a values file written for one will not render correctly against the other. Confirm the key names for the database URL, Redis, the migrations job, replica counts and secret references against the chart you pin, and render the templates in a non-production cluster first.

Production guide

Image tag against the releases page

Match the image tag in your values file to a published release on the LiteLLM releases page rather than to a tag you remember or found in a blog post. The most recent release the project lists is v1.105.1, published October 14, 2026, but your deployment should use the tag your own review approves. Record the tag in the same change as the chart version so a rollback restores both.

LiteLLM releases

Supported LiteLLM release line

Confirm which minor version line your organization will run and when it will move to the next one. LiteLLM states it maintains support for the four most recent stable minor versions for both open source and Enterprise deployments. Choose a starting line that still has support for the period you plan to operate it, and add a calendar review to your upgrade runbook.

Supported minor versions
4

Managed Kubernetes version support

Check which Kubernetes minor versions your managed service offers in EKS, GKE or AKS, and when each one leaves standard support. The upstream project maintains the three most recent minor releases, but cloud providers set their own windows. Confirm the chart and image work on the version you will run, and plan the control plane upgrade before the first production install.

Kubernetes releases

Redis and PostgreSQL requirements

Confirm that the managed Redis and PostgreSQL offerings you plan to use meet the minimums in the production guide. LiteLLM requires Redis 7.0 or newer once more than one proxy instance runs, and PostgreSQL is the primary supported database. Check the engine version, TLS settings and connection limits with the provider, because a managed service may offer a version that differs from what your replica count needs.

SSO beyond five users

Decide who needs the admin UI before you configure sign-in. SSO is free for up to five users from v1.76.0, and an Enterprise license is needed beyond that. Confirm the current terms with LiteLLM before you plan a larger rollout, and include the licensing decision in the scope agreed with your team so the Helm values and identity provider setup do not need to be reworked later.

Free SSO users
5

Questions teams ask before deploying LiteLLM on Kubernetes

How much does it cost to deploy LiteLLM on Kubernetes?

The cost is the sum of cluster capacity, managed PostgreSQL and Redis, engineering time and, if you need them, Enterprise features. The open-source proxy itself carries no license fee under the MIT license for code outside the enterprise/ directory. Most of the recurring spend sits in cluster nodes, the database and Redis, and the people who run them. Database and Redis size depend on your request volume and how many proxy replicas you run, so ask your team to size them against expected traffic before you request a quote. Ask any partner for a fixed-scope quote that lists each one-time item (design, installation, testing, handover) separately from recurring items (cloud bills, support retainers, upgrades). DeployOpen does not publish prices and works from a written scope and quote.

How long does a LiteLLM Kubernetes deployment take?

Duration depends on how much of the platform is new to your organization, not on the Helm install itself. A first install on a cluster you already run is mostly configuration: secrets, external PostgreSQL and Redis, ingress, and the migrations job. The longer work is usually the surrounding decisions: identity for the admin UI, network exposure, key and budget design, and evidence for your security review. Ask for a timeline in the written scope, and confirm which items depend on your cloud accounts, change windows and approvals. Any duration in a quote should be tied to named deliverables.

What do we need to provide before the work starts?

You need a working Kubernetes cluster on EKS, GKE or AKS with enough capacity for the proxy replicas, plus the network and access to reach it. Before work starts, confirm the following with your team:

  • A managed PostgreSQL instance for virtual keys and spend data, and a Redis 7.0 or newer endpoint once more than one proxy instance runs
  • A secret manager for LITELLM_MASTER_KEY, which must start with sk-
  • A DNS name, certificate and ingress controller for the gateway
  • Access to the model provider accounts you plan to route to, and an identity provider if the admin UI needs SSO

Who holds cluster admin rights, change approval rules and the environment where the work is tested should also be named in the scope.

Can our in-house platform team deploy LiteLLM on Kubernetes alone?

A platform team that already runs Helm releases, external databases and Kubernetes secrets can usually install the chart without outside help. The harder parts are the ones that carry risk: sizing the database and Redis, choosing between the monolithic and componentized charts, setting replica counts, keeping secrets out of etcd in plain form, and producing evidence for an audit. Ask whether your team has done each of these before, and whether someone will own upgrades on the release line after go-live. If the answer is no for any of them, a fixed-scope engagement can cover those pieces while your team keeps ownership.

Is the LiteLLM Enterprise license required for a Kubernetes deployment?

No. The open-source proxy runs on Kubernetes with the chart and supports virtual keys, budgets, routing and logging. The Enterprise license is needed for specific features, such as SSO for admin UI users beyond the free limit of 5 users (from v1.76.0), SCIM, JWT authentication, audit logs, organization and team RBAC, IP allowlisting and certain secret manager integrations. Check which of these your security review requires, then confirm the edition and license terms with LiteLLM before you commit to a design. Enterprise support terms, including response times, are set out in the vendor's documentation and should be confirmed in your contract.

What does an external PostgreSQL and Redis setup add to the cost?

External PostgreSQL is required because virtual keys, budgets and spend data depend on it, so it is a cost you cannot avoid. Redis becomes necessary once more than one proxy instance shares rate limits, router state and cache. Both are usually billed by instance size and storage, and both recur every month. Their size grows with sustained request rate and the number of logged requests, so ask for a sizing review rather than a single guess. Also budget for backups, high availability settings and the time to test restores, since those choices determine what you pay for during an outage.

What goes wrong most often with a LiteLLM Helm install?

The most common problems come from configuration rather than the chart. Typical examples include a master key that does not start with sk-, secrets stored in plain form and readable through broad RBAC, too few or too many replicas for the database connection pool, and a migrations job that runs against the wrong database during an upgrade. Teams also miss the Redis requirement once they scale past one pod. Build a verification step into the scope: confirm each setting after install, test a failed pod and a database failover, and record what was checked so the result can be repeated during the next upgrade.

Does DeployOpen install LiteLLM and hand it over to our team?

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including your cloud accounts and clusters. For a LiteLLM engagement, that can mean designing the chart layout, installing it into your cluster, configuring external PostgreSQL and Redis, setting up ingress and secrets, and handing over runbooks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing upgrades and support are available as retainers. DeployOpen does not issue audit reports or certifications, so evidence from the install should be prepared for your independent assessor.

What DeployOpen delivers for a LiteLLM Helm deployment

DeployOpen's Helm engagement starts with an architecture review that fixes the decisions everything else depends on: which chart fits the team (the monolithic litellm-helm chart or the componentized litellm chart), which cloud and Kubernetes version the cluster runs, how the proxy will reach PostgreSQL and Redis, and which callers and identity providers will sit in front of it. The output is a written design that names the chart, the chart version, the LiteLLM image tag and the replica counts for the gateway pods, so that the Helm values and the migrations job can be reviewed before anything is installed. Chart selection, external database and Redis configuration, and the migrations job are settled in that review, not discovered during cutover.

The build covers the external PostgreSQL and Redis connection settings, the secrets flow for LITELLM_MASTER_KEY and provider credentials (kept in a secret manager and delivered to pods rather than stored in plain values files), the ingress and TLS configuration, and the migration and upgrade runbook. DeployOpen also writes verification tests that check health endpoints, that the migrations job completes before traffic is routed, that keys and budgets persist across a pod restart, and that Redis-backed rate limits hold across more than one replica. The runbook records how to move to a newer chart or LiteLLM release line without losing the database schema or spend history.

The engagement closes with handover documentation written for the team that will run the gateway. It covers the values files and where they live, the secret rotation steps, the upgrade sequence, and the checks to run after each change. Several inputs must come from the client: cluster access with the rights needed to install charts and create secrets, cloud accounts for the managed PostgreSQL and Redis services, and a named owner for virtual keys, provider accounts and budget decisions. Confirm with your platform team which owner signs off on model access and who holds the master key before the architecture review begins, because those answers change the design.

How DeployOpen scopes and supports LiteLLM on Kubernetes

DeployOpen plans, builds, tests, documents and supports self-hosted LiteLLM gateways inside your own cloud accounts or data centers. Each Kubernetes engagement starts from a written scope that fixes the cluster, database, Redis, ingress and identity decisions before any Helm values are changed.

How we scope

  • We confirm the target Kubernetes distribution, cloud (EKS, GKE or AKS) and the Kubernetes version your platform team supports.
  • We agree whether the monolithic or componentized chart fits your scaling, upgrade and blast-radius requirements.
  • We record external PostgreSQL, Redis, ingress, secret store and replica count assumptions in the written scope before work starts.

How we build

  • We install the chosen chart with version-pinned values, external database and Redis connections, and a migrations job run before traffic is served.
  • We wire LITELLM_MASTER_KEY and provider credentials from your secret manager rather than plain values files or manifests.
  • We test failover between pods, the migrations job on upgrade, and ingress routing before handing over the environment.

How we hand over

  • You receive the Helm values, manifests and deployment notes in your repositories, with the reasons behind each production setting.
  • We document the runbook for upgrades, rollbacks, rotating keys and checking database and Redis health.
  • We walk your platform and security teams through the deployed configuration so they can review and operate it.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, chart and release upgrades, and continuous testing are available as retainers.
  • Ask us to confirm how your support terms apply to your chosen LiteLLM edition before the scope is signed.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.