Skip to content

Commit

Permalink
feat: make memory limit configurable in ai-server chart
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Oct 13, 2023
1 parent 5ec74ce commit 35eb892
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ai-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: dustin@elegantthemes.com
name: Elegant Themes
name: ai-server
version: 1.2.1
version: 1.2.2
2 changes: 1 addition & 1 deletion charts/ai-server/templates/ai-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
memory: 100Mi
limits:
cpu: 1000m
memory: 500Mi
memory: {{ .Values.MEMORY_LIMIT | squote }}
startupProbe:
exec:
command:
Expand Down
2 changes: 2 additions & 0 deletions charts/ai-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ JWT_REFRESH_TOKEN_EXPIRES_IN:
JWT_PRIVATE_KEY:
JWT_PUBLIC_KEY:

MEMORY_LIMIT:

OPENAI_API_KEY:
BACKUP_OPENAI_API_KEYS:

Expand Down

0 comments on commit 35eb892

Please sign in to comment.