Skip to content

Commit

Permalink
update chart uc1
Browse files Browse the repository at this point in the history
  • Loading branch information
ainnocenti2011 committed Nov 7, 2024
1 parent ff3910f commit 380dfb7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/uc1-workload/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0.0"
description: A Helm chart for UC1 Workload
name: mef-sog-uc1-wl
version: 1.0.5
version: 1.0.6
14 changes: 14 additions & 0 deletions charts/uc1-workload/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ spec:
requests:
memory: '{{ .Values.scheduledClient.resources.requests.memory }}'
cpu: '{{ .Values.scheduledClient.resources.requests.cpu }}'
nvidia.com/gpu: {{ .Values.scheduledClient.resources.requests.nvidiaGpu }}
ephemeral-storage: {{ .Values.scheduledClient.resources.requests.ephemeralStorage }}
limits:
memory: '{{ .Values.scheduledClient.resources.limits.memory }}'
cpu: '{{ .Values.scheduledClient.resources.limits.cpu }}'
nvidia.com/gpu: {{ .Values.scheduledClient.resources.limits.nvidiaGpu }}
ephemeral-storage: {{ .Values.scheduledClient.resources.limits.ephemeralStorage }}
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand All @@ -41,6 +45,10 @@ spec:
value: '{{ .Values.volume.path.timbrature }}'
- name: PATH_TIMESTAMPS_TO-BE-ELABORATED
value: '{{ .Values.volume.path.toBeElaborated }}'
- name: PATH_TIMESTAMPS_ACQUIRED
value: '{{ .Values.volume.path.acquired }}'
- name: PATH_TIMESTAMPS_DISCARDED
value: '{{ .Values.volume.path.discarded }}'
- name: FIXEDRATE_WATCHING_FOLDER_SECONDS
value: '{{ .Values.scheduledClient.watchingFolderSeconds }}'
- name: TZ
Expand Down Expand Up @@ -76,9 +84,13 @@ spec:
requests:
memory: '{{ .Values.elaborationTimbMs.resources.requests.memory }}'
cpu: '{{ .Values.elaborationTimbMs.resources.requests.cpu }}'
nvidia.com/gpu: {{ .Values.elaborationTimbMs.resources.requests.nvidiaGpu }}
ephemeral-storage: {{ .Values.elaborationTimbMs.resources.requests.ephemeralStorage }}
limits:
memory: '{{ .Values.elaborationTimbMs.resources.limits.memory }}'
cpu: '{{ .Values.elaborationTimbMs.resources.limits.cpu }}'
nvidia.com/gpu: {{ .Values.elaborationTimbMs.resources.limits.nvidiaGpu }}
ephemeral-storage: {{ .Values.elaborationTimbMs.resources.limits.ephemeralStorage }}
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
Expand Down Expand Up @@ -111,6 +123,8 @@ spec:
value: '{{ .Values.kafka.consumer.maxPollIntervalMs }}'
- name: TZ
value: '{{ .Values.timeZone }}'
- name: METRICS_ENABLED
value: '{{ .Values.elaborationTimbMs.metricsEnabled }}'
volumeMounts:
- name: data-mef
mountPath: '{{ .Values.volume.mountPath }}'
Expand Down
13 changes: 11 additions & 2 deletions charts/uc1-workload/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kafka:

scheduledClient:
kafkaEnabled: 'true'
image: 'ghcr.io/glaciation-heu/mef-sog-uc1/scheduled-client:1.1.0'
image: 'ghcr.io/glaciation-heu/mef-sog-uc1/scheduled-client:1.2.0'
multipartMaxFileSize: '500MB'
watchingFolderSeconds: 1
service:
Expand All @@ -30,21 +30,30 @@ scheduledClient:
requests:
memory: '2Gi'
cpu: '1'
nvidiaGpu: '0'
ephemeralStorage: '1Mi'
limits:
memory: '2Gi'
cpu: '1'
nvidiaGpu: '0'
ephemeralStorage: '20Mi'

elaborationTimbMs:
image: 'ghcr.io/glaciation-heu/mef-sog-uc1/elaboration-timb-ms:1.0.0'
image: 'ghcr.io/glaciation-heu/mef-sog-uc1/elaboration-timb-ms:1.1.0'
logLevelJpa: false
h2Console: false
metricsEnabled: false
resources:
requests:
memory: '2Gi'
cpu: '1'
nvidiaGpu: '0'
ephemeralStorage: '1Mi'
limits:
memory: '2Gi'
cpu: '1'
nvidiaGpu: '0'
ephemeralStorage: '20Mi'

volume:
mountPath: '/MEF/'
Expand Down

0 comments on commit 380dfb7

Please sign in to comment.