From 36229fd5874b264f9d290d5dff49beac0bde523a Mon Sep 17 00:00:00 2001 From: Theo Date: Mon, 23 Jan 2017 08:13:27 +0100 Subject: [PATCH] Clarify that exec copies all chroot_env directories This was not clear to me and is very important to understand since you can quickly fill up your disk if you run batch jobs. --- website/source/docs/drivers/exec.html.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/source/docs/drivers/exec.html.md b/website/source/docs/drivers/exec.html.md index be21b47e8..ab123a1ed 100644 --- a/website/source/docs/drivers/exec.html.md +++ b/website/source/docs/drivers/exec.html.md @@ -125,5 +125,10 @@ machine: ] ``` +Nomad will copy these directories into the job's chroot, so make sure you have +enough disk space. Also take into consideration that allocations are not +removed immediately after a job has completed, so you might need some margin if +you run many batch jobs. + This list is configurable through the agent client [configuration file](/docs/agent/configuration/client.html#chroot_env).