From 41f74db8da34cb18669f93ecb658b3723d636aaf Mon Sep 17 00:00:00 2001 From: Bruce Becker Date: Sun, 29 May 2022 12:35:26 +0200 Subject: [PATCH] feat(loki): add resource stanza and fix ingester configuration Signed-off-by: Bruce Becker --- loki.nomad | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/loki.nomad b/loki.nomad index ba8c619..9fdcd86 100644 --- a/loki.nomad +++ b/loki.nomad @@ -25,7 +25,7 @@ job "loki" { } priority = 80 group "log-server" { - count = 2 + count = 3 network { port "loki_http_listen" { @@ -64,8 +64,56 @@ job "loki" { "-config.file=local/loki.yml" ] } + resources { + cpu = 128 + memory = 50 + } template { - source = "local/loki.yml.tpl" + // source = "local/loki.yml.tpl" + data = <