diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml index fab39e3aee..f7992ac309 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml @@ -35,10 +35,10 @@ spec: resources: limits: cpu: {{ .Values.resources.limits.cpu }} - memory: {{ .Values.resources.limits.memory }} + memory: "2Gi" requests: cpu: {{ .Values.resources.requests.cpu }} - memory: {{ .Values.resources.requests.memory }} + memory: "2Gi" env: ## BEGIN FLEET SECTION - name: FLEET_SERVER_SANDBOX_ENABLED diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml index f9bcd16ae6..137243dd06 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml @@ -62,7 +62,7 @@ spec: value: elasticapm - name: FLEET_LOGGING_TRACING_ENABLED value: "true" - - name: FLEET_VULNERABILITIES_EXTERNAL_SCHEDULED + - name: FLEET_VULNERABILITIES_DISABLE_SCHEDULE value: "true" - name: FLEET_SESSION_DURATION value: "1y" diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf index ed530ab360..4312cec4e3 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf @@ -212,6 +212,16 @@ resource "helm_release" "main" { name = "apm.token" value = var.apm_token } + + set { + name = "resources.limits.memory" + value = "512Mi" + } + + set { + name = "resources.requests.memory" + value = "512Mi" + } } data "aws_iam_policy_document" "main" {