diff --git a/manifest.yaml b/manifest.yaml index 284f719..22fc23f 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -65,6 +65,13 @@ spec: envFrom: - configMapRef: name: ${CI_PROJECT_PATH_SLUG}-config-map + resources: + limits: + cpu: "${APP_CI_CPU_LIMIT}" + memory: "${APP_CI_MEMORY_LIMIT}" + requests: + cpu: "${APP_CI_CPU_REQUEST}" + memory: "${APP_CI_MEMORY_REQUEST}" volumeMounts: - name: storage mountPath: /app/srcs/storage @@ -119,6 +126,8 @@ metadata: name: ${CI_PROJECT_PATH_SLUG}-cronjob spec: schedule: "* * * * *" + successfulJobsHistoryLimit: 1 + failedJobsHistoryLimit: 1 concurrencyPolicy: Forbid jobTemplate: spec: