How a LiteLLM Kubernetes manifest move to the Helm chart works
If your team runs one hand-written LiteLLM Deployment, Service, ConfigMap and Secret and wants the componentized chart, the core answer is that your existing Postgres and Redis stay where they are and no data moves. The work is mostly capturing the current configuration, splitting the database connection into Helm values and a Secret, and running a cutover you can reverse. Qualitatively, this is a contained change to deployment definitions rather than a data migration, though the effort still depends on how much configuration and how many secrets your current manifests carry. This section only describes steps that LiteLLM documents, and it does not estimate duration.
The chart splits the gateway, backend and Admin UI into separate Deployments, so your single Deployment becomes several objects that must be wired together. The most important detail is that the chart never reads DATABASE_URL. It expects DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD, so you must take the URL apart into values and move the password into a Secret. Before you touch the cluster, export the current ConfigMap and Secret, record the image tag, and confirm the chart version you plan to use matches or exceeds that image. Your Helm client must be version 3.8 or newer, and the LiteLLM guide to moving from manifests to microservices is the reference for the exact values.
Plan the cutover so you can return to the old Deployment in minutes. Keep the existing Deployment running, install the chart under a separate release name, point a test caller at it, and only then shift the Service or ingress. The salt key used to encrypt stored credentials must be carried over unchanged, or previously stored provider keys will not decrypt. Confirm that the new release reads the same database and that virtual keys and spend records appear before you remove the old objects. Your team should confirm the exact salt key variable and secret handling in the LiteLLM documentation for your image version before cutover.
What maps cleanly from manifests to the litellm chart and what does not
This table compares each object in a hand-written LiteLLM deployment with its counterpart in the componentized chart, and lists what carries over unchanged. Read the right-hand column first, since those items need a decision or a manual check before cutover.
| Item | Hand-written manifests | litellm chart and cutover handling |
|---|---|---|
| Gateway workload | One Deployment serving the proxy API and Admin UI together | Gateway runs as its own Deployment; confirm replica counts and resource requests per component |
| Admin UI | Served from the same pod as the proxy | Runs as a separate Deployment, so UI rollouts are independent of gateway pods |
| Backend | Not separated; all proxy work shares one Deployment | Backend Deployment handles background work; check which component owns each setting |
| Service and routing | Service in front of the single Deployment | Chart creates Services per component; update Ingress or route targets to the gateway Service |
| Database connection | DATABASE_URL in a Secret or ConfigMap | Chart does not read DATABASE_URL; split it into DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD |
| Database password | Embedded inside the URL string | Move the password alone into a Secret referenced by DATABASE_PASSWORD; rotate it only after cutover |
| LITELLM_MASTER_KEY | Secret, value starts with sk- | Carries over unchanged; keep the same value so existing admin tooling still works |
| Salt key | Secret used to encrypt stored credentials | Carries over unchanged; losing or changing it makes stored encrypted values unreadable |
| PostgreSQL | Existing database holding keys, budgets and spend | Kept in place; no data moves during the migration, so confirm connectivity from the new pods |
| Redis | Existing instance if more than one proxy runs | Kept in place; confirm it is version 7.0 or newer before pointing the chart at it |
| Custom probes, sidecars or patched manifests | Hand edits made outside the original YAML | Needs manual review; the chart does not carry these over and each one must be re-added or dropped deliberately |
| Chart version and Helm | Applied with kubectl apply | Requires helm 3.8 or newer and a chart version at or above the current proxy image; oldest supported chart is 1.89.0 |
Documented migration path and the inputs the chart expects
The chart is the documented destination for this move, and it has a few hard inputs: a Helm version, a chart version that matches the proxy image, and a cluster that meets the Kubernetes rules for the release you run. Check these four cards before you copy a single value, because a mismatch here is the cheapest problem to fix.
Follow the documented migration path
LiteLLM publishes a guide for moving from hand-written manifests to the componentized chart, where gateway, backend and Admin UI run as separate Deployments. Read it end to end before you start, and compare each step against your current Deployment, Service, ConfigMap and Secret. The existing PostgreSQL and Redis are kept in place, so the migration changes how the gateway is deployed and does not move any data. Confirm with your platform team that this matches your plan.
- Separate Deployments
- 3
Confirm the Helm version
The migration requires Helm 3.8 or newer on the workstation or pipeline that runs the upgrade. Check the version that your CI runner and your operators actually use, since an older binary in a shared runner is a common cause of a failed install. Pin the Helm version in your automation so the same client renders the chart every time. Record the version in the change ticket.
Match the chart to the proxy image
The chart version should match or exceed the proxy image you run. Before you choose a chart, identify the exact image tag in the current Deployment and note it in the change record. A chart older than the image can render settings the image does not expect, and a newer chart can change defaults you depended on. Plan to test the rendered output against your existing config.
Pick the oldest supported chart and image
Chart 1.89.0 is the oldest version the migration guide supports, so an installation older than that needs an intermediate step before this move. Use the LiteLLM releases page to choose the proxy image you will run after cutover, and confirm the tag exists and matches your support policy. The releases page lists v1.105.1 as published on October 14, 2026, which is a reference point, not a recommendation. Confirm the current release with the project before you pin it.
LiteLLM releasesCheck the cluster against Kubernetes rules
The chart runs on your cluster, so its Kubernetes version and upgrade timing matter too. Confirm that your cluster release is still in support and that your kubelets and control plane fall within the version skew rules. Kubernetes requires kube-apiserver to move one minor version at a time, and kubelets may lag by up to three minor versions. Treat the cluster as context for this move, and resolve any cluster upgrade as a separate change.
Version skew policySequence for capturing config, splitting secrets, running in parallel and cutting over
This sequence moves a hand-written LiteLLM Deployment onto the componentized Helm chart while the existing Postgres and Redis stay in place, so callers keep working and a rollback stays available until the new release has proven stable.
Inventory the live Deployment and its environment
Export the running Deployment, its Service, ConfigMap and Secret references, and the full list of environment variables from the pod spec, including the image tag and the mounted config.yaml. Record which values come from the ConfigMap, which come from the Secret, and which are set inline. Confirm with the platform owner which secrets hold LITELLM_MASTER_KEY, the salt key and DATABASE_URL. The output is a written inventory that another engineer could use to rebuild the release without access to the cluster.
Render the chart in a non-production namespace
Install the litellm chart into a separate, non-production namespace using helm 3.8 or newer, with a chart version that matches or exceeds the current proxy image. Confirm the chart version is at least 1.89.0, the oldest supported. Translate the inventory into values, and render the templates with helm template before applying anything. The check is that the rendered gateway, backend and UI Deployments show the same image tag, config and environment as the live workload, with no unexpected differences.
Split DATABASE_URL into a database Secret
The chart does not read DATABASE_URL. Split the existing connection string into DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD, then store the password in a Secret that the chart references. Keep the host and database name unchanged so the existing Postgres instance is reused and no data moves. The check is that a test connection from the new namespace reaches the same database and reads the same virtual key records as the live gateway.
Keep LITELLM_MASTER_KEY and the salt key unchanged
Copy LITELLM_MASTER_KEY and the salt key from the existing Secret into the new release's Secret without modification. The salt key encrypts stored credentials, so changing it would make existing encrypted values unreadable. Store both values in your secret manager and restrict who can read them. The check is a comparison of key hashes or a test request using the existing master key against the new release, confirming both keys are accepted and stored credentials decrypt.
Run the new releases beside the old ones
Deploy the new gateway, backend and Admin UI releases alongside the existing Deployment while the old Service still points at the old pods. Both sides read the same Postgres and, if more than one proxy instance runs, the same Redis 7.0 or newer. Confirm each new pod passes its health checks and logs no database or authentication errors. Test requests go to the new Service only, not to production traffic.
Verify virtual keys, budgets and spend
Using test virtual keys, confirm that per-key and per-team budgets, RPM or TPM limits and model restrictions behave the same on the new release. Send a few requests through each path, then check that spend rows in the database increase and that the Admin UI shows the same key and team records. Compare spend totals with the old release over the same window. The check is a written record showing no differences in key permissions, budget enforcement or spend attribution.
Cut the Service selector over and keep rollback ready
Change the Service selector to route traffic to the new gateway pods, using a change window agreed with application owners. Keep the old manifests, the previous Helm or kubectl state and the old Service definition in version control so the selector can be switched back quickly. Watch error rates, latency and authentication failures during the cutover. The check is that callers succeed through the Service and that a documented rollback command restores the previous selector in a test.
Decommission the old Deployment after a stable window
After the new release has run through a stable window agreed with the platform and application owners, remove the old Deployment, ConfigMap and inline Secret references. Keep the archived manifests and the database Secret record for audit. Confirm no pods, cron jobs or external tools still reference the old objects. The output is a closed change record stating the chart version, image tag, cutover time and where the archived manifests are stored.
Keeping the salt key and splitting DATABASE_URL without losing access
The salt key and the master key must move across byte for byte. The salt key is what LiteLLM uses to encrypt credentials stored in the database, so if the new release reads a different salt value, provider credentials and virtual keys that were written under the old value will fail to decrypt and callers will start getting errors. The same applies to LITELLM_MASTER_KEY, which must start with sk-, because admin tooling and existing automation authenticate with it. Copy both values from the running Deployment's Secret into the new Secret or external store, then compare checksums rather than trusting a visual check. Confirm that the chart values reference the same Secret key names your current manifests use, so the gateway reads the values you copied.
The chart does not read DATABASE_URL, so the URL must be decomposed by hand. Split it into DATABASE_HOST, DATABASE_PORT, DATABASE_NAME and DATABASE_USER as plain values in your Helm values file, and move only the password into a Kubernetes Secret that the chart references for DATABASE_PASSWORD. Parse the existing URL carefully: passwords containing reserved characters must be percent-decoded before they go into the Secret, and a query string such as SSL options must be accounted for, because it will not carry over automatically. Point the new release at the same PostgreSQL instance and confirm the gateway connects before any traffic is shifted. Redis stays where it is, and no data moves.
Kubernetes Secrets are stored unencrypted in etcd by default, so the copied salt key, master key and database password are only as protected as the cluster's configuration. Before you create the new Secret, confirm with your cluster administrators whether encryption at rest is enabled for Secrets, who holds list and watch permission on Secrets in the namespace, and whether the organization requires an external store through the Secrets Store CSI Driver. The Kubernetes Secrets good practices page covers these controls. Remove the decomposed plaintext from shell history and temporary files once the Secret exists, and record who handled the values for your change log.
How traffic and data move during the parallel run and cutover
The diagram starts with callers sending requests to the Service that fronts the existing hand-written Deployment. During the parallel run, the new gateway, backend and Admin UI Deployments from the componentized chart run beside it, and both sets connect to the same PostgreSQL database and Redis instance, since no data moves. The cutover is a single change in which the Service selector points at the chart's gateway pods. Check that both paths write to the same spend and key tables, and keep the manifest Deployment defined so the Service can be pointed back if the cutover fails.
Both gateway paths share one PostgreSQL and Redis, and the Service selects which one serves traffic.
What drives the effort of the move
This table lists the factors that change how much inventory, testing and cutover work the move to the componentized chart requires. Read each row as a question to answer about your current deployment before asking for a scope, since the answers decide whether the work is a short exercise or a multi-environment project.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of environments | Each environment needs its own captured config, Secret split, Helm values and rollback test, so effort grows with every cluster or namespace. | Standardize values across environments and migrate one non-production copy first. |
| Patches applied to the hand-written manifests | Manual edits made outside the source files must be found and carried into chart values, or the new release silently changes behavior. | Diff the live Deployment and ConfigMap against the files in version control before writing any values. |
| Redis shared across replicas | If more than one proxy instance already relies on Redis for rate limits and router state, the chart values and connection settings must be checked against it. | Confirm the Redis endpoint and version (Redis 7.0 or newer for multiple instances) and keep it unchanged during the move. |
| Callers pointing at the Service | Every application, SDK client and tool that uses the existing Service name or DNS entry must keep working through the cutover, so the caller list defines the test matrix. | Inventory callers from logs or ingress metrics and keep the Service name stable where possible. |
| Kubernetes version and cluster access | The chart version, Helm 3.8 or newer, and the cluster's API version determine what can be installed, and limited RBAC slows every step. | Check the Helm and cluster versions early and confirm who holds rights to create Secrets and Deployments in each namespace. |
| GitOps control of the manifests | If an Argo CD or Flux-style controller reconciles the current manifests, a Helm install can be reverted or fight the sync unless the source of truth changes first. | Move the application definition into the GitOps repository in the same change as the chart switch. |
| Config held outside the ConfigMap | Settings in environment variables, mounted files, Secrets or the database must each be located and mapped, and missed items cause runtime failures. | List every environment variable and mounted file in the live pod spec, not only the ConfigMap. |
| Salt key and database credentials | The salt key must be preserved exactly, and DATABASE_URL must be split into host, port, name, user and password, so a wrong value breaks stored data or logins. | Record the existing salt key in the secret manager and verify the split values against a test connection before cutover. |
What usually goes wrong during a LiteLLM chart migration
Most failed cutovers trace back to a short list of gaps: secrets that did not carry over, versions that do not line up, and rollback paths that exist only on paper. Each card below names one failure, why it hurts during the move from hand-written manifests to the componentized chart, and the check that prevents it.
Changed salt key breaks stored credentials
If the new Secret carries a different salt key value than the running gateway, any model credentials encrypted with the old salt become unreadable after the pods restart. The chart migration keeps Postgres and Redis unchanged, so the encrypted rows come along with the data. Before cutover, confirm the salt key value is copied byte for byte from the existing secret, store it in your secret manager, and test that a stored credential still decrypts on the new gateway pod before shifting traffic.
DATABASE_PASSWORD missing from Secret
The chart does not read DATABASE_URL, so the connection string has to be split into DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD. The most common gap is the password, which is left in the old manifest and never written into the new Secret. Pods then start with an empty or wrong credential and fail on database connection. Check that every one of the five values resolves inside a running pod before you scale the new Deployments up.
Microservices migration guideChart version older than the proxy image
The migration guide says the chart version should match or exceed the current proxy image, and chart 1.89.0 is the oldest supported version. An older chart can deploy a gateway image whose environment variables, probes or config paths it does not know how to set. Compare the proxy image tag in the old Deployment with the chart version you select, and render the chart with helm template to inspect the image reference before installing anything.
Redis gap with multiple replicas
A single proxy instance can run without Redis, but once more than one replica runs, shared rate limits, router state and cache need a common store. The production guide requires Redis 7.0 or newer in that case. Teams often scale the new gateway Deployment to two or more pods during cutover without enabling Redis in values, so rate limits behave differently per pod and routing state diverges. Confirm the Redis settings are present in the values file and the pods reach the same Redis before raising the replica count.
Production best practicesService selector points at nothing
The split chart creates separate Deployments for gateway, backend and Admin UI, each with its own labels. If the Service selector still matches the labels from the old single Deployment, the Service has no endpoints and callers get connection errors even though every pod reports ready. Compare the selector on each Service with the pod labels from kubectl get pods --show-labels, and confirm kubectl get endpoints lists the gateway pod IPs before pointing any caller at the new Service.
Missed environment variable and rollback never rehearsed
Hand-written manifests often carry environment variables added over time, such as a config path, a master key reference or a feature flag, and a quick comparison misses one. Separately, teams rarely test the reverse path, so when the new release fails they discover the old Deployment was deleted or its Secret was overwritten. Diff the environment of the old and new pods, then rehearse rollback in staging by scaling the old Deployment back up and confirming it serves traffic with the same keys and spend data.
Questions buyers ask before moving LiteLLM to the Helm chart
Can our team move a hand-written LiteLLM Deployment to the Helm chart on its own?
Yes, if the team has someone comfortable with Kubernetes manifests, Helm and Secrets, because the migration is a re-packaging of configuration rather than a data move. The LiteLLM migration guide describes splitting the existing Deployment, Service, ConfigMap and Secret into the componentized chart, where gateway, backend and Admin UI run as separate Deployments. The work that usually needs the most care is capturing the live configuration accurately, confirming the chart version and reviewing the cutover plan. Whether your team has that bandwidth is the real question, and a fixed-scope outside engagement is one way to cover it.
What does the migration need from our team before work starts?
Plan for access and information rather than new infrastructure. Expect to provide the following:
- Read access to the running Deployment, ConfigMap, Secret and Service, so the current configuration can be captured.
- Helm 3.8 or newer on the operator workstation, as the migration guide requires.
- The proxy image tag in use, so a chart version that matches or exceeds it can be selected. The guide states chart 1.89.0 is the oldest supported version.
- Confirmation of where
LITELLM_MASTER_KEYand the salt key are stored, and a maintenance window for the cutover. - Named owners for the Postgres and Redis instances that stay in place.
What drives the cost and duration of this migration?
The main drivers are how much configuration exists, how many environments run the gateway, and how strict the change control is. A single cluster with a small ConfigMap and a documented Secret is a smaller job than several clusters with hand-edited values and undocumented environment variables. Other factors include whether a staging copy exists for rehearsal, how many callers depend on the endpoint, and how many approval gates apply to production changes. Cost components are the time of the people doing the capture, rehearsal, cutover and rollback testing, and any outside engagement, which is priced from a written scope. Ask any provider for a quote that lists each environment, each rehearsal and each approval step separately.
Does the migration move our data to a new database?
No. The LiteLLM migration guide states that the existing Postgres and Redis are kept and no data moves. The chart does not read DATABASE_URL. It expects DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD, so the URL is split into chart values and a Secret that points at the same database. Because the database stays where it is, the migration does not create a second copy of spend records or key tables. Confirm the database endpoint and credentials with your DBA before cutover, since a typo in the split values is the most common way the new pods fail to connect.
Will our virtual keys and spend history survive the move?
They should, provided the same PostgreSQL database and the same salt key are used. Virtual keys, budgets and spend records live in that database, and the migration keeps it in place. The salt key is the one piece that must be carried over exactly. LiteLLM uses it to encrypt stored credentials, so a changed or lost salt key can leave stored provider credentials unreadable after the cutover. Record the existing salt key value in your secret manager before changing anything, and check that the new Secret contains the same value. Verify a sample virtual key and its remaining budget after the cutover in staging and again in production.
How do we make the cutover reversible?
Keep the original Deployment, Service, ConfigMap and Secret in the cluster, and do not delete them until the new release has been verified under real traffic. Because the database is shared and unchanged, switching back means pointing the Service selector or ingress at the original pods again. Run the new chart in staging first with a copy of the captured configuration, then test a virtual key, a model call and an Admin UI login. Document who can trigger the rollback and what signals end the observation period. Keeping helm release history and the manifests in version control makes both directions repeatable.
When does outside help make sense for this migration?
Outside help makes most sense when the gateway serves production traffic across several teams, when no one on staff has run Helm releases against production, or when change control requires a tested rollback before approval. It is also useful when the salt key, database credentials or master key are managed in a secret manager that the team has not yet connected to Kubernetes. DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. Ask for the written scope to name the environments, the capture method and the rollback test.
Official LiteLLM and Kubernetes sources to read before the move
Start with the LiteLLM manifests to microservices guide, which describes the move from one hand-written Deployment, Service, ConfigMap and Secret to the componentized litellm chart, where gateway, backend and Admin UI run as separate Deployments. Read it against your current manifests line by line. The guide documents that the existing Postgres and Redis are kept and no data moves, so the sections that matter most to your plan are the ones on DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER and DATABASE_PASSWORD, which replace the single DATABASE_URL your manifests probably use. Its requirements on Helm and chart version should drive the first decision you make: which chart version to pin. Before you start, confirm the chart version and proxy image tag against the LiteLLM releases page, and check that the chart version matches or exceeds the image you run.
Next, read the LiteLLM production guide in the LiteLLM production best practices documentation. Use it to check the settings the split deployment depends on: one Uvicorn worker per pod on Kubernetes, horizontal scaling, LITELLM_MASTER_KEY held in a secret manager, and Redis once more than one proxy instance runs. Those points determine whether the gateway and backend replicas you define in values can safely scale. The guide also names PostgreSQL as the primary supported database, so confirm your existing database meets that expectation before you move connection settings into the chart.
Finally, read the Kubernetes good practices for Secrets page, Good practices for Kubernetes Secrets. Your split DATABASE_URL will become a Secret that the chart consumes, and the salt key and master key will sit beside it. The page explains that Secrets are stored unencrypted in etcd by default, so confirm whether encryption at rest is enabled on your cluster, who holds list and watch access to the namespace, and whether an external store is the right home for these values. Record the answers before the cutover, because a reversible cutover depends on knowing exactly which Secret holds which value.
How DeployOpen scopes and delivers the move
DeployOpen treats the move from hand-written LiteLLM manifests to the componentized Helm chart as a fixed-scope change to a running gateway. We capture what is deployed today, agree the cutover and rollback steps in writing, and hand over a chart-based setup your team can operate and upgrade.
How we scope
- We inventory the current Deployment, Service, ConfigMap and Secret manifests and the config.yaml they load.
- We confirm the database and Redis that stay in place, and that no data moves during the change.
- We agree in writing the chart version, helm version, values file and the DATABASE_URL split into a Secret.
How we build
- We render the chart with your values in a staging namespace and compare gateway, backend and Admin UI objects with the current setup.
- We confirm LITELLM_MASTER_KEY and the salt key are carried over unchanged so stored keys and credentials still decrypt.
- We test virtual key calls, budget checks, spend logging and streaming against staging before any production change.
How we hand over
- We deliver the values files, Secret definitions and a written cutover runbook with the steps to switch back to the old manifests.
- We document the chart version pinned, the upgrade path to newer chart releases and the checks run after cutover.
- We walk your platform team through the rendered manifests, Helm releases and the rollback procedure.
How we support
- Ongoing support, chart upgrades and continuous testing are available as a retainer after the move.
- Retainer scope, response expectations and who takes which tasks should be agreed in writing with the quote.
- Questions about your environment, such as network policy or cluster version, are confirmed with your team before work starts.

