Merge pull request #6533 from hashicorp/docs-fixup-connect
docs: fix links to connect
This commit is contained in:
commit
42e21ade39
|
@ -38,11 +38,12 @@ level.
|
||||||
sidecar_service {}
|
sidecar_service {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task "web" {
|
task "web" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "test/test:v1"
|
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].
|
the [Consul integration documentation][service-discovery].
|
||||||
|
|
||||||
Nomad 0.10 also allows specifying the `service` stanza at the task group level.
|
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
|
## `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
|
define multiple checks for the service. At this time, Nomad supports the
|
||||||
`grpc`, `http`, `script`<sup><small>1</small></sup>, and `tcp` checks.
|
`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
|
- `name` `(string: "<job>-<group>-<task>")` - Specifies the name this service
|
||||||
will be advertised as in Consul. If not supplied, this will default to the
|
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
|
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"
|
[network]: /docs/job-specification/network.html "Nomad network Job Specification"
|
||||||
[qemu]: /docs/drivers/qemu.html "Nomad qemu Driver"
|
[qemu]: /docs/drivers/qemu.html "Nomad qemu Driver"
|
||||||
[restart_stanza]: /docs/job-specification/restart.html "restart stanza"
|
[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"
|
||||||
|
|
Loading…
Reference in a new issue