open-nomad/website/source/docs/drivers/rkt.html.md
Abhishek Chanda 0e185b6eaf Add an optional exec parameter to task config
This overrides the default exec command in the ACI
2015-10-07 15:15:36 -07:00

1.4 KiB

layout page_title sidebar_current description
docs Drivers: Rkt docs-drivers-rkt The Rkt task driver is used to run application containers using Rkt.

Rkt Driver

Name: rkt

The Rkt driver provides an interface for using CoreOS Rkt for running application containers. Currently, the driver supports launching containers.

Task Configuration

The Rkt driver supports the following configuration in the job spec:

  • trust_prefix - (Required) The trust prefix to be passed to rkt. Must be reachable from the box running the nomad agent.
  • name - (Required) Fully qualified name of an image to run using rkt
  • exec - (Optional) A command to execute on the ACI

Client Requirements

The Rkt driver requires rkt to be installed and in your systems $PATH. The trust_prefix must be accessible by the node running Nomad. This can be an internal source, private to your cluster, but it must be reachable by the client over HTTP.

Client Attributes

The Rkt driver will set the following client attributes:

  • driver.rkt - Set to true if Rkt is found on the host node. Nomad determines this by executing rkt version on the host and parsing the output
  • driver.rkt.version - Version of rkt eg: 0.8.1
  • driver.rkt.appc.version - Version of appc that rkt is using eg: 0.8.1

Resource Isolation

This driver does not support any resource isolation as of now.