Skip to content

Commit 7784b42

Browse files
committed
R2025a Prerelease: Resource utilization enhancements
1 parent a86a42d commit 7784b42

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Before starting, you need the following:
2525
* [Git™](https://git-scm.com/)
2626
* [Docker®](https://www.docker.com/)
2727
* Running [Kubernetes](https://kubernetes.io/) cluster that meets the following conditions:
28-
* Uses Kubernetes version 1.28 or later.
28+
* Uses Kubernetes version 1.29 or later.
2929
* Each MATLAB Production Server container in the Kubernetes cluster requires at least 1 CPU core and 2 GiB RAM.
3030
* [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) command-line tool that can access your Kubernetes cluster
3131
* [Helm](https://helm.sh/) package manager to install Helm charts that contain preconfigured Kubernetes resources for MATLAB Production Server

releases/R2025a/matlab-prodserver/templates/mps-2-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ data:
2424
--log-rotation-size 100MB
2525
--log-archive-root ./old_logs
2626
--log-archive-max-size 1GB
27-
--log-root ./log
27+
{{ ternary "--log-root ./log" "" .Values.matlabProductionServerSettings.localFileLogging }}
2828
--log-stdout
2929
--license {{ .Values.global.licenseServer | default "27000@hostname" }}
3030
--license-grace-period 2:30

releases/R2025a/matlab-prodserver/templates/mps-3-deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ spec:
9898
- -c
9999
- "cp -r /opt/matlabruntime/* /mnt/"
100100

101+
resources:
102+
limits:
103+
cpu: "1"
104+
memory: "8Gi"
105+
101106
volumeMounts:
102107
- name: mcr-root
103108
mountPath: "/mnt"

releases/R2025a/matlab-prodserver/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ matlabProductionServerSettings:
4646
# =================================================================
4747
# Maximum number of worker processes (per pod).
4848
numWorkers: 2
49+
# ----------------------------------------------------
50+
# Log to pod-local file-system (in addition to stdout)
51+
localFileLogging: false
4952

5053
images:
5154
productionServer:

0 commit comments

Comments
 (0)