Created for demo purposes for HashiTalks 2020.
Python driver plugin was created using:
USB device plugin was created using:
Clone the repository somewhere in your computer. This project uses
Go modules so you will need to set
the environment variable GO111MODULE=on
or work outside your GOPATH
if it
is set to auto
or not declared.
$ git clone https://github.com/cgbaker/hashitalk-2020-nomad-plugins
Build the plugins into the plugins
directory:
$ make install
Once the plugins are installed to the plugins
directory using the above steps,
you can try them out by starting a Nomad agent using the included config and job spec.
$ nomad agent -dev -plugin-dir=$(PWD)/plugins -config=example/nomad.hcl
# in another shell
$ nomad run ./example/device-demo.hcl
$ nomad run ./example/python-demo.hcl