Skip to content

Commit dac2dc2

Browse files
authored
Merge pull request #322 from LDSSA/infra/fix/prd/eks-mem-cpu
bugfix for OOM killer on pods EKS
2 parents a4f31d8 + fbdc656 commit dac2dc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

portal/portal/grading/services.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def get_command(self, image, name, env):
7979
"run",
8080
name,
8181
"--restart=Never",
82-
# "--requests='cpu=100m,memory=512Mi'",
82+
"--requests='cpu=250m,memory=512Mi'",
83+
"--limits='cpu=1,memory=1Gi'",
8384
"--rm",
8485
"-i", # "--tty",
8586
f"--image={image}",

0 commit comments

Comments
 (0)