Skip to content
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

Merged
merged 2 commits into from
Jul 21, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions website/pages/docs/drivers/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,17 @@ 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

| Feature | Implementation |
| --- | --- |
| SendSignals | true |
| Exec | true |
| FSIsolation | FSIsolationImage |
| NetIsolationModes | NetIsolationModeHost, NetIsolationmodeGroup, NetIsolationModeTask |
| MustInitiateNetwork | true |
| MountConfigs | MountConfigSupportAll |

## Client Requirements

Nomad requires Docker to be installed and running on the host alongside the
Expand Down
10 changes: 10 additions & 0 deletions website/pages/docs/drivers/exec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ task "example" {
}
```

## Capabilities

| Feature | Implementation |
| --- | --- |
| SendSignals | true |
| Exec | true |
| FSIsolation | FSIsolationImage |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| NetIsolationModes | NetIsolationModeHost, NetIsolationmodeGroup |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should include MustInitiateNetwork | false everywhere it's not explicitly set to true by default.

| MountConfigs | MountConfigSupportAll |

## Client Requirements

The `exec` driver can only be run when on Linux and running Nomad as root.
Expand Down
9 changes: 9 additions & 0 deletions website/pages/docs/drivers/java.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ task "web" {
}
```

## Capabilities

| Feature | Implementation |
| --- | --- |
| Exec | false |
tgross marked this conversation as resolved.
Show resolved Hide resolved
| FSIsolation | FSIsolationNone |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| NetIsolationModes | NetIsolationModeHost, NetIsolationmodeGroup |
| MountConfigs | MountConfigSupportNone |

## Client Requirements

The `java` driver requires Java to be installed and in your system's `$PATH`. On
Expand Down
9 changes: 9 additions & 0 deletions website/pages/docs/drivers/qemu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ task "virtual" {
}
```

## Capabilities

| Feature | Implementation |
| --- | --- |
| SendSignals | false |
| Exec | false |
| FSIsolation | FSIsolationImage |
| MountConfigs | MountConfigSupportNone |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should include | NetIsolationModes | none | here


## Client Requirements

The `qemu` driver requires Qemu to be installed and in your system's `$PATH`.
Expand Down
10 changes: 10 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,16 @@ task "example" {
}
```

## Capabilities

| Feature | Implementation |
| --- | --- |
| SendSignals | true |
| Exec | true |
| FSIsolation | FSIsolationNone |
| NetIsolationModes | NetIsolationModeHost, NetIsolationmodeGroup |
| MountConfigs | MountConfigSupportNone |

## Client Requirements

The `raw_exec` driver can run on all supported operating systems. For security
Expand Down