mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Update service.check.task definition to match code
Nomad errors out when attempting to specify a task for a service that uses consul connect but does not have script or gRPC checks. See 304d0cf595/nomad/structs/structs.go (L6643) for details.
This commit is contained in:
committed by
GitHub
parent
304d0cf595
commit
edf7b89408
@@ -171,9 +171,8 @@ Connect][connect] integration.
|
||||
- `host` - Use the host IP and port.
|
||||
|
||||
- `task` `(string: "")` - Specifies the name of the Nomad task associated with
|
||||
this service definition. Only available on group services. Must be set if this
|
||||
service definition represents a Consul Connect-native service and there is more
|
||||
than one task in the task group.
|
||||
this service definition. Only available on group services. May only be set for
|
||||
script or gRPC checks.
|
||||
|
||||
- `meta` <code>([Meta][]: nil)</code> - Specifies a key-value map that annotates
|
||||
the Consul service with user-defined metadata. Only available where
|
||||
|
||||
Reference in New Issue
Block a user