Categorygithub.com/hashicorp/nomad-skeleton-device-plugin

# README

Nomad Skeleton Device Plugin

Skeleton project for Nomad device plugins.

This project is intended for bootstrapping development of a new device plugin.

Requirements

  • Nomad 0.9+
  • Go 1.11 or later (to build the provider plugin)

Building the Skeleton Plugin

Clone the repository. This project uses go modules; you will need to set GO111MODULE=on (or auto, depending on your Go version and whether you are working inside your GOPATH).

$ git clone [email protected]:hashicorp/nomad-skeleton-device-plugin.git

Enter the provider directory and build the skeleton provider:

$ make build

Running the Plugin in Development

You can test this plugin (and your own device plugins) in development using the plugin launcher. The makefile provides a target for this:

$ make eval

Deploying Device Plugins in Nomad

Copy the plugin binary to the plugins directory and configure the plugin in the client config. Then use the device stanza in the job file to schedule with device support. (Note, the skeleton plugin is not intended for use in Nomad.)

# Packages

No description provided by the author