Skip to content

Commit

Permalink
Reduce resource usage for nomad tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Mar 17, 2023
1 parent a5e4ab3 commit b977d31
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions deploy/nomadTasks.nix
Expand Up @@ -46,7 +46,7 @@ let
kill_signal = "SIGINT";
kill_timeout = "30s";
resources.cpu = 2000;
resources.memory = 4096;
resources.memory = 2048;
volume_mount = {
destination = "/persist";
propagation_mode = "private";
Expand Down Expand Up @@ -80,7 +80,7 @@ let
kill_signal = "SIGINT";
kill_timeout = "30s";
resources.cpu = 2000;
resources.memory = 4096;
resources.memory = 2048;
volume_mount = {
destination = "/persist";
propagation_mode = "private";
Expand Down Expand Up @@ -109,8 +109,8 @@ let
driver = "docker";
kill_signal = "SIGINT";
kill_timeout = "30s";
resources.cpu = 2000;
resources.memory = 4096;
resources.cpu = 1000;
resources.memory = 1024;
vault = {
change_mode = "noop";
env = true;
Expand All @@ -136,8 +136,8 @@ let
driver = "docker";
kill_signal = "SIGINT";
kill_timeout = "30s";
resources.cpu = 2000;
resources.memory = 4096;
resources.cpu = 1000;
resources.memory = 1024;
vault = {
change_mode = "noop";
env = true;
Expand All @@ -162,8 +162,8 @@ let
driver = "docker";
kill_signal = "SIGINT";
kill_timeout = "30s";
resources.cpu = 2000;
resources.memory = 4096;
resources.cpu = 1000;
resources.memory = 1024;
};

marlowe-proxy = {
Expand All @@ -185,8 +185,8 @@ let
driver = "docker";
kill_signal = "SIGINT";
kill_timeout = "30s";
resources.cpu = 2000;
resources.memory = 4096;
resources.cpu = 1000;
resources.memory = 1024;
};
};
in
Expand Down

0 comments on commit b977d31

Please sign in to comment.