Nomad support in Portainer is provided through the use of the Portainer Edge Agent.

To add a Nomad environment, click on Environments then click the Add environment button.

Select Nomad as your environment type and click Start Wizard. Enter the environment details using the table below as a guide.

As an optional step you can expand the More settings section and adjust the Poll frequency for the environment - this defines how often this Edge Agent will check the Portainer Server for new jobs. The default is every 5 seconds. You can also categorize the environment by adding it to a group or tagging it for better searchability.

When you're ready, click Create. Then complete the new fields that have appeared using the table below as a guide.

Copy the generated command based on your settings and run it on your Nomad environment to deploy the Edge Agent.

If you have set a custom AGENT_SECRET on your Portainer Server instance you must remember to explicitly provide this when deploying your Edge Agent.

If you have another Nomad environment to deploy you can click Add another environment to do so. If you have any other non-Nomad environments to configure click Next to proceed, otherwise click Close to return to the list of environments.

Last updated