Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

refactor(helm): move litellm-helm chart to helm/ and drop deploy folder (#32234)

Yassin Kortam3c5ae3d0cd96
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 032bb56becc..ce9aaa9be8a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1610,14 +1610,14 @@ jobs:
- run:
name: Run helm lint
command: |
- helm lint ./deploy/charts/litellm-helm
+ helm lint ./helm/litellm-helm
# Run helm tests
- run:
name: Run helm tests
command: |
IMAGE_TAG=${CIRCLE_SHA1:-ci}
- helm install litellm ./deploy/charts/litellm-helm -f ./deploy/charts/litellm-helm/ci/test-values.yaml \
+ helm install litellm ./helm/litellm-helm -f ./helm/litellm-helm/ci/test-values.yaml \
--set image.repository=litellm-ci \
--set image.tag=${IMAGE_TAG} \
--set image.pullPolicy=Never
diff --git a/.github/workflows/helm_unit_test.yml b/.github/workflows/helm_unit_test.yml
index a280e5557bb..5b9d20d97f3 100644
--- a/.github/workflows/helm_unit_test.yml
+++ b/.github/workflows/helm_unit_test.yml
@@ -39,5 +39,5 @@ jobs:
- name: Run unit tests
run: |
- helm unittest -f 'tests/*.yaml' deploy/charts/litellm-helm
+ helm unittest -f 'tests/*.yaml' helm/litellm-helm
helm unittest -f 'tests/*.yaml' helm/litellm
diff --git a/.gitignore b/.gitignore
index 62db5fe6182..e3ccf50508f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,9 +52,8 @@ ui/litellm-dashboard/node_modules
ui/litellm-dashboard/next-env.d.ts
ui/litellm-dashboard/package.json
ui/litellm-dashboard/package-lock.json
-deploy/charts/litellm/*.tgz
-deploy/charts/litellm/charts/*
-deploy/charts/*.tgz
+helm/litellm-helm/*.tgz
+helm/*.tgz
litellm/proxy/vertex_key.json
**/.vim/
**/node_modules
diff --git a/Makefile b/Makefile
index f8d10de2917..f2753b09ff5 100644
--- a/Makefile
+++ b/Makefile
@@ -265,7 +265,7 @@ test-integration: install-test-deps
$(UV_RUN) pytest tests/ -k "not test_litellm"
test-unit-helm: install-helm-unittest
- helm unittest -f 'tests/*.yaml' deploy/charts/litellm-helm
+ helm unittest -f 'tests/*.yaml' helm/litellm-helm
# LLM Translation testing targets
test-llm-translation: install-test-deps
diff --git a/deploy/azure_resource_manager/azure_marketplace.zip b/deploy/azure_resource_manager/azure_marketplace.zip
deleted file mode 100644
index 34751258637..00000000000
Binary files a/deploy/azure_resource_manager/azure_marketplace.zip and /dev/null differ
diff --git a/deploy/azure_resource_manager/azure_marketplace/createUiDefinition.json b/deploy/azure_resource_manager/azure_marketplace/createUiDefinition.json
deleted file mode 100644
index 4eba73bdba4..00000000000
--- a/deploy/azure_resource_manager/azure_marketplace/createUiDefinition.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",
- "handler": "Microsoft.Azure.CreateUIDef",
- "version": "0.1.2-preview",
- "parameters": {
- "config": {
- "isWizard": false,
- "basics": { }
- },
- "basics": [ ],
- "steps": [ ],
- "outputs": { },
- "resourceTypes": [ ]
- }
-}
\ No newline at end of file
diff --git a/deploy/azure_resource_manager/azure_marketplace/mainTemplate.json b/deploy/azure_resource_manager/azure_marketplace/mainTemplate.json
deleted file mode 100644
index 114e855bf54..00000000000
--- a/deploy/azure_resource_manager/azure_marketplace/mainTemplate.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {
- "imageName": {
- "type": "string",
- "defaultValue": "ghcr.io/berriai/litellm:main-latest"
- },
- "containerName": {
- "type": "string",
- "defaultValue": "litellm-container"
- },
- "dnsLabelName": {
- "type": "string",
- "defaultValue": "litellm"
- },
- "portNumber": {
- "type": "int",
- "defaultValue": 4000
- }
- },
- "resources": [
- {
- "type": "Microsoft.ContainerInstance/containerGroups",
- "apiVersion": "2021-03-01",
- "name": "[parameters('containerName')]",
- "location": "[resourceGroup().location]",
- "properties": {
- "containers": [
- {
- "name": "[parameters('containerName')]",
- "properties": {
- "image": "[parameters('imageName')]",
- "resources": {
- "requests": {
- "cpu": 1,
- "memoryInGB": 2
- }
- },
- "ports": [
- {
- "port": "[parameters('portNumber')]"
- }
- ]
- }
- }
- ],
- "osType": "Linux",
- "restartPolicy": "Always",
- "ipAddress": {
- "type": "Public",
- "ports": [
- {
- "protocol": "tcp",
- "port": "[parameters('portNumber')]"
- }
- ],
- "dnsNameLabel": "[parameters('dnsLabelName')]"
- }
- }
- }
- ]
- }
\ No newline at end of file
diff --git a/deploy/azure_resource_manager/main.bicep b/deploy/azure_resource_manager/main.bicep
deleted file mode 100644
index b104cefe1e1..00000000000
--- a/deploy/azure_resource_manager/main.bicep
+++ /dev/null
@@ -1,42 +0,0 @@
-param imageName string = 'ghcr.io/berriai/litellm:main-latest'
-param containerName string = 'litellm-container'
-param dnsLabelName string = 'litellm'
-param portNumber int = 4000
-
-resource containerGroupName 'Microsoft.ContainerInstance/containerGroups@2021-03-01' = {
- name: containerName
- location: resourceGroup().location
- properties: {
- containers: [
- {
- name: containerName
- properties: {
- image: imageName
- resources: {
- requests: {
- cpu: 1
- memoryInGB: 2
- }
- }
- ports: [
- {
- port: portNumber
- }
- ]
- }
- }
- ]
- osType: 'Linux'
- restartPolicy: 'Always'
- ipAddress: {
- type: 'Public'
- ports: [
- {
- protocol: 'tcp'
- port: portNumber
- }
- ]
- dnsNameLabel: dnsLabelName
- }
- }
-}
diff --git a/deploy/charts/litellm-helm/.helmignore b/helm/litellm-helm/.helmignore
similarity index 100%
rename from deploy/charts/litellm-helm/.helmignore
rename to helm/litellm-helm/.helmignore
diff --git a/deploy/charts/litellm-helm/Chart.lock b/helm/litellm-helm/Chart.lock
similarity index 100%
rename from deploy/charts/litellm-helm/Chart.lock
rename to helm/litellm-helm/Chart.lock
diff --git a/deploy/charts/litellm-helm/Chart.yaml b/helm/litellm-helm/Chart.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/Chart.yaml
rename to helm/litellm-helm/Chart.yaml
diff --git a/deploy/charts/litellm-helm/README.md b/helm/litellm-helm/README.md
similarity index 100%
rename from deploy/charts/litellm-helm/README.md
rename to helm/litellm-helm/README.md
diff --git a/deploy/charts/litellm-helm/charts/postgresql-14.3.1.tgz b/helm/litellm-helm/charts/postgresql-14.3.1.tgz
similarity index 100%
rename from deploy/charts/litellm-helm/charts/postgresql-14.3.1.tgz
rename to helm/litellm-helm/charts/postgresql-14.3.1.tgz
diff --git a/deploy/charts/litellm-helm/charts/redis-18.19.1.tgz b/helm/litellm-helm/charts/redis-18.19.1.tgz
similarity index 100%
rename from deploy/charts/litellm-helm/charts/redis-18.19.1.tgz
rename to helm/litellm-helm/charts/redis-18.19.1.tgz
diff --git a/deploy/charts/litellm-helm/ci/test-values.yaml b/helm/litellm-helm/ci/test-values.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/ci/test-values.yaml
rename to helm/litellm-helm/ci/test-values.yaml
diff --git a/deploy/charts/litellm-helm/templates/NOTES.txt b/helm/litellm-helm/templates/NOTES.txt
similarity index 100%
rename from deploy/charts/litellm-helm/templates/NOTES.txt
rename to helm/litellm-helm/templates/NOTES.txt
diff --git a/deploy/charts/litellm-helm/templates/_helpers.tpl b/helm/litellm-helm/templates/_helpers.tpl
similarity index 100%
rename from deploy/charts/litellm-helm/templates/_helpers.tpl
rename to helm/litellm-helm/templates/_helpers.tpl
diff --git a/deploy/charts/litellm-helm/templates/configmap-litellm.yaml b/helm/litellm-helm/templates/configmap-litellm.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/configmap-litellm.yaml
rename to helm/litellm-helm/templates/configmap-litellm.yaml
diff --git a/deploy/charts/litellm-helm/templates/deployment.yaml b/helm/litellm-helm/templates/deployment.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/deployment.yaml
rename to helm/litellm-helm/templates/deployment.yaml
diff --git a/deploy/charts/litellm-helm/templates/extra-resources.yaml b/helm/litellm-helm/templates/extra-resources.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/extra-resources.yaml
rename to helm/litellm-helm/templates/extra-resources.yaml
diff --git a/deploy/charts/litellm-helm/templates/hpa.yaml b/helm/litellm-helm/templates/hpa.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/hpa.yaml
rename to helm/litellm-helm/templates/hpa.yaml
diff --git a/deploy/charts/litellm-helm/templates/ingress.yaml b/helm/litellm-helm/templates/ingress.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/ingress.yaml
rename to helm/litellm-helm/templates/ingress.yaml
diff --git a/deploy/charts/litellm-helm/templates/keda.yaml b/helm/litellm-helm/templates/keda.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/keda.yaml
rename to helm/litellm-helm/templates/keda.yaml
diff --git a/deploy/charts/litellm-helm/templates/migrations-job.yaml b/helm/litellm-helm/templates/migrations-job.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/migrations-job.yaml
rename to helm/litellm-helm/templates/migrations-job.yaml
diff --git a/deploy/charts/litellm-helm/templates/poddisruptionbudget.yaml b/helm/litellm-helm/templates/poddisruptionbudget.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/poddisruptionbudget.yaml
rename to helm/litellm-helm/templates/poddisruptionbudget.yaml
diff --git a/deploy/charts/litellm-helm/templates/secret-dbcredentials.yaml b/helm/litellm-helm/templates/secret-dbcredentials.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/secret-dbcredentials.yaml
rename to helm/litellm-helm/templates/secret-dbcredentials.yaml
diff --git a/deploy/charts/litellm-helm/templates/secret-masterkey.yaml b/helm/litellm-helm/templates/secret-masterkey.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/secret-masterkey.yaml
rename to helm/litellm-helm/templates/secret-masterkey.yaml
diff --git a/deploy/charts/litellm-helm/templates/service.yaml b/helm/litellm-helm/templates/service.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/service.yaml
rename to helm/litellm-helm/templates/service.yaml
diff --git a/deploy/charts/litellm-helm/templates/serviceaccount.yaml b/helm/litellm-helm/templates/serviceaccount.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/serviceaccount.yaml
rename to helm/litellm-helm/templates/serviceaccount.yaml
diff --git a/deploy/charts/litellm-helm/templates/servicemonitor.yaml b/helm/litellm-helm/templates/servicemonitor.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/servicemonitor.yaml
rename to helm/litellm-helm/templates/servicemonitor.yaml
diff --git a/deploy/charts/litellm-helm/templates/tests/test-connection.yaml b/helm/litellm-helm/templates/tests/test-connection.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/tests/test-connection.yaml
rename to helm/litellm-helm/templates/tests/test-connection.yaml
diff --git a/deploy/charts/litellm-helm/templates/tests/test-env-vars.yaml b/helm/litellm-helm/templates/tests/test-env-vars.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/tests/test-env-vars.yaml
rename to helm/litellm-helm/templates/tests/test-env-vars.yaml
diff --git a/deploy/charts/litellm-helm/templates/tests/test-servicemonitor.yaml b/helm/litellm-helm/templates/tests/test-servicemonitor.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/templates/tests/test-servicemonitor.yaml
rename to helm/litellm-helm/templates/tests/test-servicemonitor.yaml
diff --git a/deploy/charts/litellm-helm/tests/deployment_command_args_labels_tests.yaml b/helm/litellm-helm/tests/deployment_command_args_labels_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/deployment_command_args_labels_tests.yaml
rename to helm/litellm-helm/tests/deployment_command_args_labels_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/deployment_tests.yaml b/helm/litellm-helm/tests/deployment_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/deployment_tests.yaml
rename to helm/litellm-helm/tests/deployment_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/hpa_tests.yaml b/helm/litellm-helm/tests/hpa_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/hpa_tests.yaml
rename to helm/litellm-helm/tests/hpa_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/ingress_tests.yaml b/helm/litellm-helm/tests/ingress_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/ingress_tests.yaml
rename to helm/litellm-helm/tests/ingress_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/masterkey-secret_tests.yaml b/helm/litellm-helm/tests/masterkey-secret_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/masterkey-secret_tests.yaml
rename to helm/litellm-helm/tests/masterkey-secret_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/migrations-job_tests.yaml b/helm/litellm-helm/tests/migrations-job_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/migrations-job_tests.yaml
rename to helm/litellm-helm/tests/migrations-job_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/pdb_tests.yaml b/helm/litellm-helm/tests/pdb_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/pdb_tests.yaml
rename to helm/litellm-helm/tests/pdb_tests.yaml
diff --git a/deploy/charts/litellm-helm/tests/service_tests.yaml b/helm/litellm-helm/tests/service_tests.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/tests/service_tests.yaml
rename to helm/litellm-helm/tests/service_tests.yaml
diff --git a/deploy/charts/litellm-helm/values.yaml b/helm/litellm-helm/values.yaml
similarity index 100%
rename from deploy/charts/litellm-helm/values.yaml
rename to helm/litellm-helm/values.yaml