diff --git a/apps/grep/base/cronjob.yaml b/apps/grep/base/cronjob.yaml index e7cdef4..59d0aae 100644 --- a/apps/grep/base/cronjob.yaml +++ b/apps/grep/base/cronjob.yaml @@ -23,7 +23,6 @@ spec: [ -f /shared/metacpan_git/.init_complete ] \ && cd /shared/metacpan_git && git pull origin master imagePullPolicy: IfNotPresent - ttlSecondsAfterFinished: 600 # Automatically delete 10 minutes after completion volumes: - name: gitrepo persistentVolumeClaim: diff --git a/apps/grep/base/deployment.yaml b/apps/grep/base/deployment.yaml index 3466eba..4c494a3 100644 --- a/apps/grep/base/deployment.yaml +++ b/apps/grep/base/deployment.yaml @@ -38,6 +38,12 @@ spec: envFrom: - configMapRef: name: grep + resources: + # Manage how much memory is allocated, could add cpu if we wanted + requests: + memory: "1024Mi" + limits: + memory: "4072Mi" volumeMounts: - name: gitrepo mountPath: /shared/metacpan_git