Nomad
Nomad plugins
Plugins extend Nomad's functionality. Review configuration, installation, usage, and reference information for device and task driver plugins that are not bundled with Nomad.
Consult the Plugin authoring guide for details on how to create your own device, task driver, and host volume plugins.
Configure plugin directories
You may configure the directories where you place plugin executable binaries.
The following table lists the Agent configuration field as well as the default
directory for each plugin type. Note that the default directories use the value
of the configured data_dir parameter,
which specifies a local directory.
| Type | Plugin directory configuration parameter | Default plugin directory | Plugin configuration |
|---|---|---|---|
| Device driver | plugin_dir | <data_dir>/plugins | plugin block |
| Task driver | plugin_dir | <data_dir>/plugins | plugin block |
| Dynamic host volume | client.host_volume_plugin_dir | <data_dir>/host_volume_plugins | plugin block |
| Secret provider | client.common_plugin_dir/secrets | <data_dir>/common_plugins | plugin block |
| CNI reference | client.cni_path | /opt/cni/bin | client.cni_config_dir |