Skip to content

Commit

Permalink
Add capabilities to task drivers' pages (#8476)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayashi committed Jul 21, 2020
1 parent 248e844 commit 9aae295
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 0 deletions.
13 changes: 13 additions & 0 deletions website/pages/docs/drivers/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions website/pages/docs/drivers/exec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 12 additions & 0 deletions website/pages/docs/drivers/java.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions website/pages/docs/drivers/qemu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
12 changes: 12 additions & 0 deletions website/pages/docs/drivers/raw_exec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aae295

Please sign in to comment.