Konubinix' opinionated web of thoughts

Make Nomad Consume Less Disk Space

Fleeting

dans chaque group

# precise a small disk, see id:c4123ab1-e00e-4256-ad16-74cf7cabdf0b
ephemeral_disk {
  size    = 50
}

dans chaque task

# keep few logs to avoid needed much storage space
logs {
  max_files     = 2
  max_file_size = 10
  disabled      = false
}

Configure Defaults This example shows a default logging configuration. Yes, it is empty on purpose. Nomad automatically enables logging with reasonable defaults as described in the parameters section above.

https://developer.hashicorp.com/nomad/docs/job-specification/logs