Commit graph

72 commits

Author SHA1 Message Date
Krrish Dholakia
908bb6cea1 build(migration.sql): add migration file for new dailyusertable
documents prisma db changes
2025-03-26 17:11:25 -07:00
Krish Dholakia
6ca7b197a8 feat(prisma-migrations): add baseline db migration file (#9565)
adds initial baseline db migration file

enables future schema changes to be documented via .sql files
2025-03-26 16:22:56 -07:00
Manuel Cañete
905913ca7f feat: make masterkey secret configurable 2025-03-16 12:39:13 +01:00
Manuel Cañete
4614d85d83 ci: add helm unittest 2025-03-08 01:29:25 +01:00
Manuel Cañete
41011e8214 feat: enhance migrations job with additional configurable properties (#8636) 2025-02-26 16:08:17 -08:00
Ashwin Madavan
f3ef6c92a3 chore: set ttlSecondsAfterFinished on the migration job in the litellm-helm chart (#8593)
* chore: add ttlSecondsAfterFinished to values.yaml

* chore: set ttlSecondsAfterFinished on the job

* chore: bump version in Chart.yaml
2025-02-26 14:21:37 -08:00
Ishaan Jaff
73c004cfe5 (helm) - allow specifying envVars on values.yaml + add helm lint test (#7789)
* litellm use envVars values.yaml

* fix values.yaml

* add helm lint to ci/cd pipeline

* working values.yaml

* add helm tests to ci/cd

* fix helm chart testing

* update helm tests

* fix helm test

* fix use test values in ci

* fix busy box testing on helm

* fix test-values.yaml

* update helm tests

* fix test connection
2025-01-15 21:11:17 -08:00
Zackeus Bengtsson
9696afcb33 feat(helm): add securityContext and pull policy values to migration job (#7652)
* fix(helm): corrected indentation in migration-job.yaml

* feat(helm): add securityContext and pull policy values to migration job
2025-01-15 12:51:08 -08:00
Ishaan Jaff
79cbd3e5d3 (helm) - bug fix - allow using migrationJob.enabled variable within job (#7639)
* wrap migration job in conditional

* use enabled flag in values.yaml

* run migration job

* argo cd fixes

* fix values in image repo
2025-01-08 18:47:33 -08:00
Low Jian Sheng
59f5ea1bdb Prevent istio injection for db migrations cron job (#7513)
* allow option to prevent istio injection

* make annotations more generic

* make annotations empty

* revert comment deletions
2025-01-04 22:45:19 -08:00
Steven Crake
0fda263c1a fix: migration job for existing db (#6792) 2024-12-04 08:40:09 -08:00
Ishaan Jaff
87d1f6ed57 fix prisma migration 2024-11-13 17:04:58 -08:00
Ishaan Jaff
b87cf40881 fix migration job 2024-11-13 17:02:06 -08:00
Ishaan Jaff
175e6f8d5a fix migrations-job.yaml 2024-11-13 16:59:34 -08:00
Ishaan Jaff
09d3006586 fix migration job 2024-11-13 16:56:09 -08:00
Ishaan Jaff
f279de27b4 fix yaml on migrations job 2024-11-13 16:48:22 -08:00
Ishaan Jaff
6e33f075bf use existing spec for migrations job 2024-11-13 16:43:26 -08:00
Ishaan Jaff
9b023834ac fix DATABASE_URL 2024-11-13 16:19:37 -08:00
Ishaan Jaff
40173b2296 fix migration job.yaml 2024-11-13 16:18:11 -08:00
Ishaan Jaff
da195790c0 helm run DISABLE_SCHEMA_UPDATE 2024-11-13 15:28:07 -08:00
Ishaan Jaff
0ec051371f (build) helm db sync hook 2024-11-12 20:45:53 -08:00
Ishaan Jaff
fd3e6f3516 (build) helm db pre sync hook 2024-11-12 20:26:08 -08:00
Ishaan Jaff
6f7f985919 (build) update db helm hook 2024-11-12 20:22:08 -08:00
Ishaan Jaff
696deb9a0e fix migration job 2024-11-12 12:20:30 -08:00
Ishaan Jaff
61d2ef4913 fix db migration helm hook 2024-11-12 12:13:42 -08:00
Ishaan Jaff
2226ece98e fix argo cd annotations 2024-11-12 12:07:57 -08:00
Ishaan Jaff
610a5ac3d5 handle standalone DB on helm hook 2024-11-12 12:06:13 -08:00
Ishaan Jaff
7016096586 fix migrations job.yml 2024-11-12 12:01:37 -08:00
Ishaan Jaff
4a10390395 (feat) helm hook to sync db schema (#6715)
* v0 migration job

* fix job
2024-11-12 11:58:35 -08:00
Krish Dholakia
a946fbfd1d allow configuring httpx hooks for AsyncHTTPHandler (#6290) (#6415)
* allow configuring httpx hooks for AsyncHTTPHandler (#6290)

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>

* Fixes and minor improvements for Helm Chart (#6402)

* reckoner hack

* fix default

* add extracontainers option

* revert chart

* fix extracontainers

* fix deployment

* remove init container

* update docs

* add helm lint to deploy step

* change name

* (refactor) prometheus async_log_success_event to be under 100 LOC  (#6416)

* unit testig for prometheus

* unit testing for success metrics

* use 1 helper for _increment_token_metrics

* use helper for _increment_remaining_budget_metrics

* use _increment_remaining_budget_metrics

* use _increment_top_level_request_and_spend_metrics

* use helper for _set_latency_metrics

* remove noqa violation

* fix test prometheus

* test prometheus

* unit testing for all prometheus helper functions

* fix prom unit tests

* fix unit tests prometheus

* fix unit test prom

* (refactor) router - use static methods for client init utils  (#6420)

* use InitalizeOpenAISDKClient

* use InitalizeOpenAISDKClient static method

* fix  # noqa: PLR0915

* (code cleanup) remove unused and undocumented logging integrations - litedebugger, berrispend  (#6406)

* code cleanup remove unused and undocumented code files

* fix unused logging integrations cleanup

* update chart version

* add circleci tests

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>

* fix: fix linting error

* fix(http_handler.py): fix linting error

---------

Co-authored-by: Alejandro Rodríguez <alejorro70@gmail.com>
Co-authored-by: Robert Brennan <accounts@rbren.io>
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2024-10-24 22:00:24 -07:00
Zackeus Bengtsson
d921b08e26 fix(litellm-helm): correctly use dbReadyImage and dbReadyTag values (#6336) 2024-10-21 09:38:36 -07:00
Ishaan Jaff
cb88a7e0de (fix) clean up root repo - move entrypoint.sh and build_admin_ui to /docker (#6110)
* fix move docker files to docker folders

* move check file length

* fix docker hub deploy

* fix clean up root

* fix circle ci config
2024-10-08 11:34:43 +05:30
Peter Laß
bcad961254 Update litellm helm envconfigmap (#5872)
* Added the possibility to use ConfigMapRef for env values.

* bumped aapVersion to 1.46.6 and chartVersion to 0.3.0

---------

Co-authored-by: Peter Laß <peter.lass@maibornwolff.de>
2024-09-25 21:43:08 -07:00
Peter Laß
3f81175556 fix #5614 (#5615)
Co-authored-by: Peter Laß <peter.lass@maibornwolff.de>
2024-09-10 09:26:44 -07:00
Krish Dholakia
a25c82d0e3 build(deployment.yaml): Fix port + allow setting database url in helm chart (#5587) 2024-09-09 14:17:44 -07:00
Peter Laß
7d05b7264e litellm-helm: fix missing resource definitions in initContainer and missing DBname value for envVars in deployment.yaml (#5562)
* fix missing resource definitions in initContainer and missing DBname value in envVars in deployment.yaml

* fix missing resource definitions in initContainer and missing DBname value in envVars in deployment.yaml

---------

Co-authored-by: Peter Laß <peter.lass@maibornwolff.de>
2024-09-07 08:23:05 -07:00
Ishaan Jaff
7b59265cc8 Merge pull request #5222 from ArbitraryCritter/listen-on-ipv6-and-ipv4
Make helm chart listen on IPv6 (and IPv4).
2024-08-28 14:54:09 -07:00
Mikio Stewart
30c32cbc2c fix configmap name in print 2024-08-21 08:37:21 -07:00
Mikio Stewart
fe48a7ab6a add checksum annotation 2024-08-21 08:30:55 -07:00
lowjiansheng
ad10ef7a8a add 0.2.3 helm 2024-08-19 23:59:58 +08:00
Rasmus Salling
2effabd11f Make helm chart listen on IPv6 (and IPv4).
This changes the listen statement from 0.0.0.0 to ::.

On any reasonably modern linux kernel, this will open a dual-stack socket and listen on all IPv4 and IPv6 sockets.
Without this litellm will not run in an IPv6 only environment.
2024-08-15 16:05:19 +02:00
Ishaan Jaff
1425373820 readme - clarify helm is community maintained 2024-08-06 12:37:13 -07:00
lowjiansheng
78c0358e05 update helm chart 2024-08-01 12:27:35 +08:00
lowjiansheng
2824082761 move index and helm pacakge location 2024-07-10 00:54:36 +08:00
lowjiansheng
73e0d1e50c update the index.yaml file 2024-07-08 11:06:18 +08:00
lowjiansheng
0a78e19797 update chart version 2024-07-08 11:03:38 +08:00
Ishaan Jaff
1732a9de04 fix - don't use gunicorn on litellm helm 2024-05-22 07:48:34 -07:00
Krrish Dholakia
1a18480225 build: add azure resource template 2024-05-08 15:24:58 -07:00
Krrish Dholakia
9fe8ce6ff2 build(bump-helm-chart-app-version): bump helm chart app version to latest 2024-05-06 10:26:01 -07:00
Ishaan Jaff
d6faaec979 (fix) load testing key used 2024-04-01 08:28:19 -07:00