cluster/services/dns: heavily limit cpu and memory
This commit is contained in:
parent
6318a87236
commit
5bd296ab6c
1 changed files with 5 additions and 0 deletions
|
@ -106,6 +106,11 @@ in {
|
||||||
|
|
||||||
systemd.services.coredns = {
|
systemd.services.coredns = {
|
||||||
after = [ "acme-dns.service" ];
|
after = [ "acme-dns.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
MemoryMax = "200M";
|
||||||
|
MemorySwapMax = "50M";
|
||||||
|
CPUQuota = "25%";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
consul.services = {
|
consul.services = {
|
||||||
|
|
Loading…
Reference in a new issue