Skip to content

Commit 7ec4227

Browse files
authored
SS-1383 This fixes mlflow giving out of memory error (#303)
Signed-off-by: Nikita Churikov <nikita@chur.ru>
1 parent 8ab6f33 commit 7ec4227

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/models/app_types/mlflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ def get_k8s_values(self):
3434
"type": "app",
3535
},
3636
"resources": {
37-
"requests": {"cpu": "1", "memory": "512Mi", "ephemeral-storage": "512Mi"},
38-
"limits": {"cpu": "2", "memory": "1Gi", "ephemeral-storage": "1Gi"},
37+
"requests": {"cpu": "1", "memory": "1Gi", "ephemeral-storage": "1Gi"},
38+
"limits": {"cpu": "2", "memory": "2Gi", "ephemeral-storage": "2Gi"},
3939
},
4040
"pdb": {"create": False},
4141
}
4242
k8s_values["run"] = {
4343
"resources": {
44-
"requests": {"cpu": "1", "memory": "512Mi", "ephemeral-storage": "512Mi"},
45-
"limits": {"cpu": "2", "memory": "1Gi", "ephemeral-storage": "1Gi"},
44+
"requests": {"cpu": "1", "memory": "1Gi", "ephemeral-storage": "1Gi"},
45+
"limits": {"cpu": "2", "memory": "2Gi", "ephemeral-storage": "2Gi"},
4646
}
4747
}
4848
k8s_values["minio"] = {"pdb": {"create": False}}

0 commit comments

Comments
 (0)