Open
Description
Nomad version
Output from nomad version
Nomad v1.8.4
BuildDate 2024-09-17T20:18:34Z
Revision 22ab32e
Operating system and Environment details
macOS 15.3.1 (though issue is not OS-specific)
Issue
Running nomad config validate
doesn't work on a config.hcl
file that contains both client {}
and server {}
blocks.
My understanding is that this is a valid configuration (we use it in production), and just launch the agent with the -client
or -server
flag as appropriate for the machine.
Reproduction steps
Expected Result
Config is validated
Actual Result
Must specify either server, client or dev mode for the agent.
Configuration is invalid
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
Metadata
Metadata
Assignees
Type
Projects
Status
Needs Roadmapping