Commit Graph

7 Commits

Author SHA1 Message Date
Seth Hoenig
836ee9e4a2 drivers/exec+java: Add task configuration to restore previous PID/IPC isolation behavior
This PR adds pid_mode and ipc_mode options to the exec and java task
driver config options. By default these will defer to the default_pid_mode
and default_ipc_mode agent plugin options created in #9969. Setting
these values to "host" mode disables isolation for the task. Doing so
is not recommended, but may be necessary to support legacy job configurations.

Closes #9970
2021-02-08 14:26:35 -06:00
Chris Baker
bcb78f15bf lint some nomad HCL job specs 2021-01-28 12:03:19 +00:00
Chris Baker
c9905747e6 e2e: java driver isolation tests 2021-01-28 12:03:19 +00:00
Kris Hicks
87f80b1042 Add a little comment 2021-01-28 12:03:19 +00:00
Kris Hicks
c0f6df7cfd Add test for alloc exec 2021-01-28 12:03:19 +00:00
Kris Hicks
ea7bab0714 Add e2e test for raw exec 2021-01-28 12:03:19 +00:00
Kris Hicks
677353a205 Add PID namespacing and e2e test 2021-01-28 12:03:19 +00:00