Add capabilities to task drivers' pages (#8476)

This commit is contained in:
kobayashi 2020-07-21 14:54:31 -04:00 committed by GitHub
parent ec4b96b5e6
commit e095a70bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 0 deletions

View File

@ -627,6 +627,19 @@ Some networking modes like `container` or `none` will require coordination
outside of Nomad. First-class support for these options may be improved later
through Nomad plugins or dynamic job configuration.
## Capabilities
The `docker` driver implements the following [capabilities](/docs/internals/plugins/task-drivers#capabilities-capabilities-error)
| Feature | Implementation |
| --- | --- |
| SendSignals | true |
| Exec | true |
| FSIsolation | image |
| NetIsolationModes | host, group, task |
| MustInitiateNetwork | true |
| MountConfigs | all |
## Client Requirements
Nomad requires Docker to be installed and running on the host alongside the

View File

@ -77,6 +77,19 @@ task "example" {
}
```
## Capabilities
The `exec` driver implements the following [capabilities](/docs/internals/plugins/task-drivers#capabilities-capabilities-error)
| Feature | Implementation |
| --- | --- |
| SendSignals | true |
| Exec | true |
| FSIsolation | chroot |
| NetIsolationModes | host, group |
| MustInitiateNetwork | false |
| MountConfigs | all |
## Client Requirements
The `exec` driver can only be run when on Linux and running Nomad as root.

View File

@ -97,6 +97,18 @@ task "web" {
}
```
## Capabilities
The `java` driver implements the following [capabilities](/docs/internals/plugins/task-drivers#capabilities-capabilities-error)
| Feature | Implementation |
| --- | --- |
| SendSignals | false |
| Exec | false |
| FSIsolation | none, chroot (only for linux) |
| NetIsolationModes | host, group |
| MountConfigs | none, all (only for linux) |
## Client Requirements
The `java` driver requires Java to be installed and in your system's `$PATH`. On

View File

@ -101,6 +101,18 @@ task "virtual" {
}
```
## Capabilities
The `qemu` driver implements the following [capabilities](/docs/internals/plugins/task-drivers#capabilities-capabilities-error)
| Feature | Implementation |
| --- | --- |
| SendSignals | false |
| Exec | false |
| FSIsolation | image |
| NetIsolationModes | none |
| MountConfigs | none |
## Client Requirements
The `qemu` driver requires Qemu to be installed and in your system's `$PATH`.

View File

@ -73,6 +73,18 @@ task "example" {
}
```
## Capabilities
The `raw_exec` driver implements the following [capabilities](/docs/internals/plugins/task-drivers#capabilities-capabilities-error)
| Feature | Implementation |
| --- | --- |
| SendSignals | true |
| Exec | true |
| FSIsolation | none |
| NetIsolationModes | host, group |
| MountConfigs | none |
## Client Requirements
The `raw_exec` driver can run on all supported operating systems. For security