Add capabilities to task drivers' pages (#8476)
This commit is contained in:
parent
ec4b96b5e6
commit
e095a70bd6
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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`.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue