Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resources spec to all containers #52

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions neon_diana_utils/helm_charts/backend/diana-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.12
version: 0.1.14

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -32,8 +32,8 @@ dependencies:
version: 11.13.0
repository: https://charts.bitnami.com/bitnami
- name: diana-http
version: 0.0.9
version: 0.0.11
repository: file://../http-services
- name: diana-mq
version: 0.0.7
version: 0.0.9
repository: file://../mq-services
18 changes: 9 additions & 9 deletions neon_diana_utils/helm_charts/backend/http-services/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@ name: diana-http
description: Deploy DIANA HTTP Services

type: application
version: 0.0.9
version: 0.0.11
appVersion: "1.0.1a10"
dependencies:
- name: libretranslate
alias: libretranslate
version: 0.0.4
version: 0.0.5
repository: file://../../http/libretranslate
- name: tts-coqui
alias: tts-coqui
version: 0.0.4
version: 0.0.5
repository: file://../../http/tts-coqui
# - name: tts-glados
# alias: tts-glados
# version: 0.0.1
# repository: https://neongeckocom.github.io/neon-diana-utils
- name: tts-larynx
alias: tts-larynx
version: 0.0.4
version: 0.0.5
repository: file://../../http/tts-larynx
- name: tts-ljspeech
alias: tts-ljspeech
version: 0.0.4
version: 0.0.5
repository: file://../../http/tts-ljspeech
- name: tts-mozilla
alias: tts-mozilla
version: 0.0.4
version: 0.0.5
repository: file://../../http/tts-mozilla
- name: tts-nancy
alias: tts-nancy
version: 0.0.4
version: 0.0.6
repository: file://../../http/tts-nancy
- name: ww-snowboy
alias: ww-snowboy
version: 0.0.4
version: 0.0.5
repository: file://../../http/ww-snowboy
- name: stt-nemo
alias: stt-nemo
version: 0.0.1
version: 0.0.2
repository: file://../../http/stt-nemo
14 changes: 7 additions & 7 deletions neon_diana_utils/helm_charts/backend/mq-services/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ name: diana-mq
description: Deploy DIANA MQ Services

type: application
version: 0.0.7
version: 0.0.9
appVersion: "1.0.1a10"
dependencies:
- name: neon-api-proxy
alias: neon-api-proxy
version: 0.0.4
version: 0.0.5
repository: file://../../mq/neon-api-proxy
- name: neon-brands-service
alias: neon-brands-service
version: 0.0.4
version: 0.0.5
repository: file://../../mq/neon-brands-service
- name: neon-email-proxy
alias: neon-email-proxy
version: 0.0.4
version: 0.0.5
repository: file://../../mq/neon-email-proxy
- name: neon-metrics-service
alias: neon-metrics-service
version: 0.0.5
version: 0.0.6
repository: file://../../mq/neon-metrics-service
- name: neon-script-parser
alias: neon-script-parser
version: 0.0.4
version: 0.0.5
repository: file://../../mq/neon-script-parser
- name: neon-llm-chatgpt
alias: neon-llm-chatgpt
version: 0.0.4
version: 0.0.6
repository: file://../../mq/neon-llm-chatgpt
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/base/base-http/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: base-http
description: Library chart for basic HTTP Services
type: library

version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ spec:
volumeMounts:
- mountPath: /config/neon
name: config
{{- if .Values.resources }}
resources:
{{- toYaml $.Values.resources | nindent 12 -}}
{{ end }}
volumes:
- name: config
projected:
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/libretranslate/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: libretranslate
description: Deploy a Libretranslate Server

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/http/libretranslate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ service:
type: ClusterIP
targetPort: "5000"

resources:
requests:
memory: "1Gi"
cpu: "0.1"

ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/stt-nemo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: stt-nemo
description: Deploy a Nemo STT Server

type: application
version: 0.0.1
version: 0.0.2
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/http/stt-nemo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ service:
type: ClusterIP
targetPort: "8080"

resources:
requests:
memory: "3Gi"
cpu: "1.0"

ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/tts-coqui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: tts-coqui
description: Deploy a Coqui TTS Server

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/http/tts-coqui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ service:
type: ClusterIP
targetPort: "9666"

resources:
requests:
memory: "4Gi"
cpu: "1.0"

ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/tts-larynx/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: tts-larynx
description: Deploy a Larynx TTS Server

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/http/tts-larynx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ service:
type: ClusterIP
targetPort: "5002"

resources:
requests:
memory: "300Mi"
cpu: "0.01"

ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/tts-ljspeech/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: tts-ljspeech
description: Deploy a LJSpeech TTS Server

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/http/tts-ljspeech/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ service:
type: ClusterIP
targetPort: "9000"

resources:
requests:
memory: "500Mi"
cpu: "0.01"

ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/tts-mozilla/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: tts-mozilla
description: Deploy a Mozilla TTS Server

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/http/tts-mozilla/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ service:
type: ClusterIP
targetPort: "5002"

resources:
requests:
memory: "300Mi"
cpu: "0.01"

ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/tts-nancy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: tts-nancy
description: Deploy a Nancy TTS Server

type: application
version: 0.0.4
version: 0.0.6
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
6 changes: 6 additions & 0 deletions neon_diana_utils/helm_charts/http/tts-nancy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ service:
type: ClusterIP
targetPort: "9000"

resources:
requests:
memory: "500Mi"
cpu: "0.01"


ingress:
enabled: true
className: nginx
Expand Down
4 changes: 2 additions & 2 deletions neon_diana_utils/helm_charts/http/ww-snowboy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: ww-snowboy
description: Deploy Snowboy Wake Word Trainer

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
- name: base-http
version: 0.0.4
version: 0.0.5
repository: file://../../base/base-http
6 changes: 6 additions & 0 deletions neon_diana_utils/helm_charts/http/ww-snowboy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ service:
type: ClusterIP
targetPort: "8000"

resources:
requests:
memory: "40Mi"
cpu: "0.01"


ingress:
enabled: true
className: nginx
Expand Down
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.3
version: 0.0.4
appVersion: "1.0.1a10"
5 changes: 5 additions & 0 deletions neon_diana_utils/helm_charts/klat/klat-chat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ images:
image: ghcr.io/neongeckocom/klatchat_observer
name: klat-chat-observer

resources:
requests:
memory: "500Mi"
cpu: "0.01"

ingress:
enabled: True
ingressClassName: nginx
Expand Down
2 changes: 1 addition & 1 deletion neon_diana_utils/helm_charts/mq/neon-api-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: neon-api-proxy
description: Deploy an MQ API Proxy

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
Expand Down
4 changes: 4 additions & 0 deletions neon_diana_utils/helm_charts/mq/neon-api-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ image:
repository: ghcr.io/neongeckocom/neon_api_proxy
pullPolicy: Always
tag: dev
resources:
requests:
memory: "50Mi"
cpu: "0.01"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: neon-brands-service
description: Deploy an MQ Brands Service

type: application
version: 0.0.4
version: 0.0.5
appVersion: "1.0.1a10"

dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ image:
repository: ghcr.io/neongeckocom/neon_brands_service
pullPolicy: Always
tag: dev
resources:
requests:
memory: "50Mi"
cpu: "0.01"
Loading
Loading