Shishir Mahajan
479442e682
Add support for --init to docker driver.
...
Signed-off-by: Shishir Mahajan <smahajan@roblox.com >
2021-10-15 12:53:25 -07:00
Amit Shuster
215bf04bc6
Lightrun Integration - External task driver ( #11203 )
2021-10-06 15:34:34 -04:00
Luiz Aoqui
cb0b2f5387
Document Docker extra_hosts behaviour post v1.1.3 ( #11079 )
...
Co-authored-by: Derek Strickland <1111455+DerekStrickland@users.noreply.github.com >
2021-09-01 12:41:06 -04:00
James Rasell
989d5812ed
docs: update website to detail cni plugins v1.0.0
2021-08-27 11:15:25 +02:00
Lir (Rookout)
de8c69dad3
Some Rookout docs tweaks ( #10989 )
2021-08-09 11:19:36 +02:00
James Rasell
8adb00bfad
docs: order external driver overview alphabetically.
2021-08-02 10:51:37 +02:00
Lir (Rookout)
9b65172d7b
Rookout driver docs ( #10950 )
...
Co-authored-by: James Rasell <jrasell@users.noreply.github.com >
2021-08-02 10:09:45 +02:00
Shishir
24f88398c3
Containerd task driver options. ( #10878 )
...
- Auth support via driver config
- pid_mode
- shm_size
Signed-off-by: Shishir Mahajan <smahajan@roblox.com >
2021-07-09 08:17:42 -04:00
Shantanu Gadgil
751f66f3a6
constraint on the Docker driver missing 'attr'
...
Between this page and https://www.nomadproject.io/docs/runtime/interpolation
I realized that the syntax on the Docker page was missing the word `attr`.
2021-07-06 08:48:04 +05:30
Juan Carlos Alonso
acd13314ed
Fix missing opening quote
2021-06-30 12:33:34 +08:00
Tim Gross
2a640f0b2d
docker: generate /etc/hosts file for bridge network mode ( #10766 )
...
When `network.mode = "bridge"`, we create a pause container in Docker with no
networking so that we have a process to hold the network namespace we create
in Nomad. The default `/etc/hosts` file of that pause container is then used
for all the Docker tasks that share that network namespace. Some applications
rely on this file being populated.
This changeset generates a `/etc/hosts` file and bind-mounts it to the
container when Nomad owns the network, so that the container's hostname has an
IP in the file as expected. The hosts file will include the entries added by
the Docker driver's `extra_hosts` field.
In this changeset, only the Docker task driver will take advantage of this
option, as the `exec`/`java` drivers currently copy the host's `/etc/hosts`
file and this can't be changed without breaking backwards compatibility. But
the fields are available in the task driver protobuf for community task
drivers to use if they'd like.
2021-06-16 14:55:22 -04:00
Shishir Mahajan
b9668e87dc
Update containerd task driver options.
...
- hostname
- auth
Signed-off-by: Shishir Mahajan <smahajan@roblox.com >
2021-06-10 08:03:49 -04:00
Tim Gross
f5c71526c1
docs: warn not to set network_mode for Connect-enabled Docker task
2021-06-08 10:14:15 -04:00
Charlie Voiselle
90da87f6e6
(demo) -> [demo]
2021-05-19 16:30:23 -04:00
mrspanishviking
674ae4b3f1
docs: fixes broken links
...
Fixed broken links for the remote task driver ECS page
2021-05-19 12:56:08 -07:00
Seth Hoenig
845a3d3cdc
docs: minor wording tweaks + cl
2021-05-17 12:52:52 -06:00
Seth Hoenig
7245ac3fc5
docs: update docs for linux capabilities in exec/java/docker drivers
...
Update docs for allow_caps, cap_add, cap_drop in exec/java/docker driver
pages. Also update upgrade guide with guidance on new default linux
capabilities for exec and java drivers.
2021-05-17 12:37:40 -06:00
Michael Schurter
711a05d3ce
Apply suggestions from code review
...
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com >
2021-05-14 10:45:12 -07:00
Michael Schurter
b68ec47247
docs: mention #10592 in rtd docs
2021-05-13 15:14:56 -07:00
Michael Schurter
4393d666ae
docs: document remote task drivers & ecs driver
2021-05-13 10:43:46 -07:00
Luiz Aoqui
ad956385f7
docs: add FAQ for Docker Desktop for Windows and MacOS ( #10390 )
...
* docs: add FAQ for Docker Desktop for Windows and MacOS
* docs: add win
* docs: add docker desktop note to docker driver page
2021-04-29 19:53:12 -04:00
Shishir Mahajan
671c0ed515
Update containerd task driver options.
...
- image_pull_timeout
- pids_limit
- sysctl
2021-04-16 13:18:33 -04:00
Bryce Kalow
ee79587a67
feat(website): migrates to new nav data format ( #10264 )
2021-03-31 08:43:17 -05:00
Shishir
12fc27cc08
Update containerd task driver docs. ( #10244 )
2021-03-26 14:42:27 -04:00
Florian Apolloner
8b3ea4ea9a
docker: support configuring default log driver in plugin options
2021-03-12 16:04:33 -05:00
Adrian Todorov
2748d2a895
driver/docker: add extra labels ( job name, task and task group name)
2021-03-08 08:59:52 -05:00
Drew Bailey
eddd11134e
remove v1-v2 varlink references ( #10110 )
...
* remove v1-v2 varlink references
* Update website/content/docs/drivers/podman.mdx
Co-authored-by: Tim Gross <tgross@hashicorp.com >
* fix code snippet
Co-authored-by: Tim Gross <tgross@hashicorp.com >
2021-03-03 13:59:32 -05:00
Seth Hoenig
836ee9e4a2
drivers/exec+java: Add task configuration to restore previous PID/IPC isolation behavior
...
This PR adds pid_mode and ipc_mode options to the exec and java task
driver config options. By default these will defer to the default_pid_mode
and default_ipc_mode agent plugin options created in #9969 . Setting
these values to "host" mode disables isolation for the task. Doing so
is not recommended, but may be necessary to support legacy job configurations.
Closes #9970
2021-02-08 14:26:35 -06:00
Seth Hoenig
ce4b59c346
docs: clarify PID
...
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2021-02-08 10:52:57 -06:00
Seth Hoenig
ede2a635a0
docs: shorten IPC
...
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2021-02-08 10:52:42 -06:00
Seth Hoenig
0980482251
docs: clarify PID
...
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2021-02-08 10:52:31 -06:00
Seth Hoenig
134eebbd60
docs: shorten IPC
...
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2021-02-08 10:52:19 -06:00
Seth Hoenig
1364e33fed
docs: capitalize posix
...
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2021-02-08 10:52:08 -06:00
Seth Hoenig
779c90db09
docs: capitalize posix
...
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2021-02-08 10:51:55 -06:00
Seth Hoenig
b682371a22
drivers/exec+java: Add configuration to restore previous PID/IPC namespace behavior.
...
This PR adds default_pid_mode and default_ipc_mode options to the exec and java
task drivers. By default these will default to "private" mode, enabling PID and
IPC isolation for tasks. Setting them to "host" mode disables isolation. Doing
so is not recommended, but may be necessary to support legacy job configurations.
Closes #9969
2021-02-05 15:52:11 -06:00
Tim Gross
fa05789a94
docs: remove mbits examples from documentation
2021-02-02 10:10:44 -05:00
Shishir Mahajan
289a7e8917
Update FSIsolation from none to image.
2021-01-15 08:01:04 -05:00
Tim Gross
26bf0257de
docs: podman FSIsolation is image
...
As of podman 0.2.0, podman correctly advertises its filesystem isolation as
`FSIsolationImage`.
2021-01-13 09:05:19 -05:00
Seth Hoenig
143af9b67f
cni: bump CNI version to v0.9.0
...
https://github.com/containernetworking/plugins/releases/tag/v0.9.0
Also make the copy-paste install instructions work with arm64 for
a better OOTB experience (AWS Graviton, Pi 4's).
2021-01-10 18:03:27 -06:00
Tim Gross
463fed965d
docs: clarify default behavior of docker userns_mode
2021-01-08 08:22:39 -05:00
Jeff Escalante
0eae603a86
implement mdx remote
2021-01-05 19:02:39 -05:00