From ba7f4c1b7fbd61da11b598e5525de95b407d10d7 Mon Sep 17 00:00:00 2001 From: Hanieh Marvi Date: Sat, 30 Jan 2021 17:57:57 +0330 Subject: [PATCH] Remove requests from tasks So pods do not stay in pending state because of lack of resources. --- templates/task.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/task.yaml b/templates/task.yaml index 93b7206..9d638f1 100644 --- a/templates/task.yaml +++ b/templates/task.yaml @@ -22,9 +22,9 @@ spec: - name: data-dir mountPath: /data resources: - requests: &rsc - cpu: 10m - memory: 100Mi + requests: + cpu: 0m + memory: 0Mi limit: cpu: 100m memory: 100Mi