open-nomad/scheduler
Tim Gross 72cbe53f19
logs: allow disabling log collection in jobspec (#16962)
Some Nomad users ship application logs out-of-band via syslog. For these users
having `logmon` (and `docker_logger`) running is unnecessary overhead. Allow
disabling the logmon and pointing the task's stdout/stderr to /dev/null.

This changeset is the first of several incremental improvements to log
collection short of full-on logging plugins. The next step will likely be to
extend the internal-only task driver configuration so that cluster
administrators can turn off log collection for the entire driver.

---

Fixes: #11175

Co-authored-by: Thomas Weber <towe75@googlemail.com>
2023-04-24 10:00:27 -04:00
..
benchmarks api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
annotate.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
annotate_test.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
context.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
context_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
device.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
device_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
feasible.go [scheduler] Honor `false` for distinct hosts constraint (#16907) 2023-04-17 17:43:56 -04:00
feasible_test.go [scheduler] Honor `false` for distinct hosts constraint (#16907) 2023-04-17 17:43:56 -04:00
generic_sched.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
generic_sched_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
preemption.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
preemption_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
propertyset.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
rank.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
rank_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_util.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_util_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scheduler.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scheduler_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scheduler_sysbatch_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
scheduler_system.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scheduler_system_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
select.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
select_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
spread.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
spread_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
stack.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
stack_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
stack_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_util.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_util_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
util.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
util_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00