File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
releases/R2025b/matlab-prodserver Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 63
63
cpu : {{ .Values.deploymentSettings.cpuRequest | default "1" | quote }}
64
64
memory : {{ .Values.deploymentSettings.memoryRequest | default "2Gi" | quote }}
65
65
limits :
66
- cpu : {{ .Values.matlabProductionServerSettings.numWorkers | default "1" | quote }}
67
- memory : " 8Gi"
66
+ cpu : {{ .Values.deploymentSettings.cpuLimit | default "1" | quote }}
67
+ memory : {{ .Values.deploymentSettings.memoryLimit | default "8Gi" | quote }}
68
68
69
69
volumeMounts :
70
70
- name : auto-deploy
@@ -106,9 +106,12 @@ spec:
106
106
- " cp -r /opt/matlabruntime/* /mnt/"
107
107
108
108
resources :
109
+ requests :
110
+ cpu : {{ .Values.deploymentSettings.cpuRequest | default "1" | quote }}
111
+ memory : {{ .Values.deploymentSettings.memoryRequest | default "2Gi" | quote }}
109
112
limits :
110
- cpu : " 1"
111
- memory : " 4Gi "
113
+ cpu : {{ .Values.deploymentSettings.cpuLimit | default "1" | quote }}
114
+ memory : {{ .Values.deploymentSettings.memoryLimit | default "8Gi" | quote }}
112
115
113
116
volumeMounts :
114
117
- name : mcr-root
Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ images:
119
119
pullSecret : " "
120
120
121
121
deploymentSettings :
122
- cpuRequest : " 1"
122
+ cpuLimit : " 1"
123
+ cpuRequest : " 250m"
124
+ memoryLimit : " 8Gi"
123
125
memoryRequest : " 2Gi"
124
126
replicaCount : 1
125
127
restartPolicy : Always
Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ matlabProductionServerSettings:
109
109
# -------------------------------------------------------------
110
110
111
111
deploymentSettings :
112
+ # Uncomment to update resource utilization default values:
113
+ # cpuLimit: "1"
114
+ # cpuRequest: "250m"
115
+ # memoryLimit: "8Gi"
116
+ # memoryRequest: "2Gi"
117
+ # -------------------------------------------------------------
112
118
replicaCount : 1
113
119
restartPolicy : Always
114
120
You can’t perform that action at this time.
0 commit comments