Skip to content

Commit

Permalink
Update Klat memory requests to reflect real world usage
Browse files Browse the repository at this point in the history
Update Neon memory requests to minimal requirements when external STT/TTS services are used
Update Neon skills memory requests to include some margin for initialization which commonly fails with OOM in current deployments
  • Loading branch information
NeonDaniel committed Mar 6, 2025
1 parent a812700 commit 1c9e561
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/klat/klat-chat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: klat-chat
description: Deploy Klat Services

type: application
version: 0.0.8
version: 0.0.9
appVersion: "1.0.1a31"
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ metadata:
kubernetes.io/ingress.class: {{ .Values.ingress.ingressClassName }}
cert-manager.io/issuer: {{ .Values.ingress.certIssuer }}
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
tls:
- secretName: {{ .Values.ingress.tlsSecretName }}
Expand All @@ -27,6 +28,9 @@ spec:
- {{ printf "%s.%s " .host $.Values.domain }}
{{- end }}
{{- end }}
{{- if .Values.redirectRoot}}
- {{ $.Values.domain }}
{{- end }}

rules:
{{- range .Values.ingress.rules }}
Expand Down
5 changes: 3 additions & 2 deletions neon_diana_utils/helm_charts/klat/klat-chat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@ images:
image: ghcr.io/neongeckocom/chat_server
name: klat-chat-server
observer:
image: ghcr.io/neongeckocom/klatchat_observer
image: ghcr.io/neongeckocom/klatchat-observer
name: klat-chat-observer
admin:
image: ghcr.io/neongeckocom/pyklatchat_admin
name: klat-chat-admin
resources:
requests:
memory: "1500Mi"
memory: "500Mi"
cpu: "0.01"

ingress:
enabled: True
ingressClassName: nginx
tlsSecretName: tls-letsencrypt-klat
certIssuer: letsencrypt-private-key
redirectRoot: False
rules:
- host: klat
serviceName: klat-chat-client
Expand Down
8 changes: 4 additions & 4 deletions neon_diana_utils/helm_charts/neon/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: neon-core
description: Deploy Neon Core Services

type: application
version: 0.0.9
version: 0.0.10
appVersion: "1.0.1a31"
dependencies:
- name: neon-messagebus
Expand All @@ -12,15 +12,15 @@ dependencies:
repository: file://../neon-messagebus
- name: neon-speech
alias: neon-speech
version: 0.0.6
version: 0.0.7
repository: file://../neon-speech
- name: neon-skills
alias: neon-skills
version: 0.0.7
version: 0.0.8
repository: file://../neon-skills
- name: neon-audio
alias: neon-audio
version: 0.0.7
version: 0.0.8
repository: file://../neon-audio
- name: neon-enclosure
alias: neon-enclosure
Expand Down
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/neon/neon-audio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: neon-audio
description: Deploy Neon Core Audio Service

type: application
version: 0.0.7
version: 0.0.8
appVersion: "1.0.1a31"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/neon/neon-audio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ image:
tag: dev
resources:
requests:
memory: "500Mi"
memory: "300Mi"
cpu: "0.1"
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/neon/neon-skills/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: neon-skills
description: Deploy Neon Core Skills Service

type: application
version: 0.0.7
version: 0.0.8
appVersion: "1.0.1a31"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/neon/neon-skills/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ image:
tag: dev
resources:
requests:
memory: "800Mi"
memory: "850Mi"
cpu: "0.1"
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/neon/neon-speech/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: neon-speech
description: Deploy Neon Core Speech (Voice) Service

type: application
version: 0.0.6
version: 0.0.7
appVersion: "1.0.1a31"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/neon/neon-speech/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ image:
tag: dev
resources:
requests:
memory: "1Gi"
memory: "500Mi"
cpu: "0.1"

0 comments on commit 1c9e561

Please sign in to comment.