mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
Update documentation about validation logic for service names.
This commit is contained in:
@@ -28,6 +28,10 @@ and supports `go-getter` syntax.
|
||||
On successful validation, exit code 0 will be returned, otherwise an exit code
|
||||
of 1 indicates an error.
|
||||
|
||||
Service names are validated according to [RFC-1123](https://tools.ietf.org/html/rfc1123).
|
||||
Any environment variables in the name are ignored, because some environment variables can only
|
||||
be resolved in the node the job is run on.
|
||||
|
||||
## Examples
|
||||
|
||||
Validate a job with invalid syntax:
|
||||
|
||||
Reference in New Issue
Block a user