From 1ea094aa6ef9de4bbb09014cbb0797a9d9a72096 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 29 Oct 2024 19:21:05 +0100 Subject: [PATCH] Revert "perfs: decrease CPU" This reverts commit 6ea5de031532e03ac7c9017a8c644fb1eebd295f. --- nomad-job/apps/jellyfin.nomad | 1 + nomad-job/apps/mealie.nomad.hcl | 2 +- nomad-job/apps/paperless-ng.nomad | 3 +-- nomad-job/apps/tt-rss.nomad | 3 --- nomad-job/platform/dashboard.nomad | 2 -- nomad-job/platform/vector.nomad | 1 + nomad-job/system/pdns-auth.nomad | 7 +++---- 7 files changed, 7 insertions(+), 12 deletions(-) diff --git a/nomad-job/apps/jellyfin.nomad b/nomad-job/apps/jellyfin.nomad index 9f67671..c7d2601 100644 --- a/nomad-job/apps/jellyfin.nomad +++ b/nomad-job/apps/jellyfin.nomad @@ -111,6 +111,7 @@ job "jellyfin" { resources { memory = 2000 memory_max = 4000 + cpu = 3000 } } diff --git a/nomad-job/apps/mealie.nomad.hcl b/nomad-job/apps/mealie.nomad.hcl index e7a18d1..dc4c1f4 100644 --- a/nomad-job/apps/mealie.nomad.hcl +++ b/nomad-job/apps/mealie.nomad.hcl @@ -86,7 +86,7 @@ job "mealie" { env = true } resources { - memory = 400 + memory = 300 } } diff --git a/nomad-job/apps/paperless-ng.nomad b/nomad-job/apps/paperless-ng.nomad index ec6f096..095dbb5 100644 --- a/nomad-job/apps/paperless-ng.nomad +++ b/nomad-job/apps/paperless-ng.nomad @@ -38,7 +38,6 @@ job "paperless-ng" { } resources { memory = 50 - cpu = 50 } } task "paperless-ng" { @@ -103,7 +102,7 @@ job "paperless-ng" { resources { memory = 950 memory_max = 1500 - cpu = 100 + cpu = 2000 } } diff --git a/nomad-job/apps/tt-rss.nomad b/nomad-job/apps/tt-rss.nomad index 598ddc1..939c242 100644 --- a/nomad-job/apps/tt-rss.nomad +++ b/nomad-job/apps/tt-rss.nomad @@ -83,7 +83,6 @@ job "tt-rss" { env = true } resources { - cpu = 50 memory = 150 } } @@ -116,7 +115,6 @@ job "tt-rss" { } resources { - cpu = 50 memory = 150 } } @@ -201,7 +199,6 @@ job "tt-rss" { } resources { - cpu = 50 memory = 50 } } diff --git a/nomad-job/platform/dashboard.nomad b/nomad-job/platform/dashboard.nomad index 22227ff..d2c33ef 100644 --- a/nomad-job/platform/dashboard.nomad +++ b/nomad-job/platform/dashboard.nomad @@ -45,7 +45,6 @@ job "dashboard" { } resources { - cpu = 50 memory = 20 } } @@ -145,7 +144,6 @@ services: } resources { - cpu = 50 memory = 30 } } diff --git a/nomad-job/platform/vector.nomad b/nomad-job/platform/vector.nomad index 924dd3e..7eb19ac 100644 --- a/nomad-job/platform/vector.nomad +++ b/nomad-job/platform/vector.nomad @@ -29,6 +29,7 @@ job "vector" { } # resource limits are a good idea because you don't want your log collection to consume all resources available resources { + cpu = 500 # 500 MHz memory = 256 # 256MB } # template with Vector's configuration diff --git a/nomad-job/system/pdns-auth.nomad b/nomad-job/system/pdns-auth.nomad index 90b6d65..de64820 100644 --- a/nomad-job/system/pdns-auth.nomad +++ b/nomad-job/system/pdns-auth.nomad @@ -81,7 +81,6 @@ include-dir=/etc/powerdns/pdns.d EOH } resources { - cpu = 50 memory = 100 } } @@ -96,9 +95,9 @@ include-dir=/etc/powerdns/pdns.d "local/recursor.conf:/etc/powerdns/recursor.conf", ] } - template { - destination = "local/recursor.conf" - data = <