cluster/services/dns: heavily limit cpu and memory

This commit is contained in:
Max Headroom 2024-06-05 01:20:24 +02:00
parent 6318a87236
commit 5bd296ab6c

View file

@ -106,6 +106,11 @@ in {
systemd.services.coredns = {
after = [ "acme-dns.service" ];
serviceConfig = {
MemoryMax = "200M";
MemorySwapMax = "50M";
CPUQuota = "25%";
};
};
consul.services = {