mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Merge pull request #6533 from hashicorp/docs-fixup-connect
docs: fix links to connect
This commit is contained in:
@@ -38,11 +38,12 @@ level.
|
||||
sidecar_service {}
|
||||
}
|
||||
}
|
||||
|
||||
task "web" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "test/test:v1"
|
||||
}
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "test/test:v1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,8 @@ for service discovery. For more details on using Nomad with Consul please see
|
||||
the [Consul integration documentation][service-discovery].
|
||||
|
||||
Nomad 0.10 also allows specifying the `service` stanza at the task group level.
|
||||
This enables services in the same task group to opt into [Consul Connect][] integration.
|
||||
This enables services in the same task group to opt into [Consul
|
||||
Connect][connect] integration.
|
||||
|
||||
## `service` Parameters
|
||||
|
||||
@@ -82,6 +83,9 @@ This enables services in the same task group to opt into [Consul Connect][] inte
|
||||
define multiple checks for the service. At this time, Nomad supports the
|
||||
`grpc`, `http`, `script`<sup><small>1</small></sup>, and `tcp` checks.
|
||||
|
||||
- `connect` - Configures the [Consul Connect][connect] integration. Only
|
||||
available on group services.
|
||||
|
||||
- `name` `(string: "<job>-<group>-<task>")` - Specifies the name this service
|
||||
will be advertised as in Consul. If not supplied, this will default to the
|
||||
name of the job, group, and task concatenated together with a dash, like
|
||||
@@ -636,4 +640,4 @@ system of a task for that driver.</small>
|
||||
[network]: /docs/job-specification/network.html "Nomad network Job Specification"
|
||||
[qemu]: /docs/drivers/qemu.html "Nomad qemu Driver"
|
||||
[restart_stanza]: /docs/job-specification/restart.html "restart stanza"
|
||||
[Connect]: /docs/job-specification/connect.html "Nomad Consul Connect Integration"
|
||||
[connect]: /docs/job-specification/connect.html "Nomad Consul Connect Integration"
|
||||
|
||||
Reference in New Issue
Block a user