From 49a8a427f7eef41b51d6158b3c821569667c758c Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 10 May 2024 08:22:10 +0200 Subject: [PATCH] perf: adjust openldap ram --- nomad-job/openldap/openldap.nomad.hcl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nomad-job/openldap/openldap.nomad.hcl b/nomad-job/openldap/openldap.nomad.hcl index 0ccac81..2e9d8c6 100644 --- a/nomad-job/openldap/openldap.nomad.hcl +++ b/nomad-job/openldap/openldap.nomad.hcl @@ -49,6 +49,9 @@ job "openldap" { env { SSL_DNS="ldaps.service.consul,ldap.service.consul" } + resources { + memory = 50 + } } task "openldap" { driver = "docker" @@ -124,7 +127,7 @@ job "openldap" { destination = "local/ldif/tree.ldif" } resources { - memory = 300 + memory = 150 } } } @@ -180,6 +183,9 @@ job "openldap" { destination = "secrets/env" env = true } + resources { + memory = 70 + } } }