-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add capabilities to task drivers' pages #8476
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,16 @@ task "example" { | |
} | ||
``` | ||
|
||
## Capabilities | ||
|
||
| Feature | Implementation | | ||
| --- | --- | | ||
| SendSignals | true | | ||
| Exec | true | | ||
| FSIsolation | FSIsolationImage | | ||
| NetIsolationModes | NetIsolationModeHost, NetIsolationmodeGroup | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should include |
||
| MountConfigs | MountConfigSupportAll | | ||
|
||
## Client Requirements | ||
|
||
The `exec` driver can only be run when on Linux and running Nomad as root. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,15 @@ task "web" { | |
} | ||
``` | ||
|
||
## Capabilities | ||
|
||
| Feature | Implementation | | ||
| --- | --- | | ||
| Exec | false | | ||
tgross marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| FSIsolation | FSIsolationNone | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On Linux the Java capabilities are slightly different: https://github.com/hashicorp/nomad/blob/v0.12.0/drivers/java/driver.go#L98-L101 |
||
| NetIsolationModes | NetIsolationModeHost, NetIsolationmodeGroup | | ||
| MountConfigs | MountConfigSupportNone | | ||
|
||
## Client Requirements | ||
|
||
The `java` driver requires Java to be installed and in your system's `$PATH`. On | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,15 @@ task "virtual" { | |
} | ||
``` | ||
|
||
## Capabilities | ||
|
||
| Feature | Implementation | | ||
| --- | --- | | ||
| SendSignals | false | | ||
| Exec | false | | ||
| FSIsolation | FSIsolationImage | | ||
| MountConfigs | MountConfigSupportNone | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should include |
||
|
||
## Client Requirements | ||
|
||
The `qemu` driver requires Qemu to be installed and in your system's `$PATH`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be chroot: https://github.com/hashicorp/nomad/blob/v0.12.0/drivers/exec/driver.go#L82