diff --git a/website/source/docs/job-specification/connect.html.md b/website/source/docs/job-specification/connect.html.md
index e6baffafb..a8bc94583 100644
--- a/website/source/docs/job-specification/connect.html.md
+++ b/website/source/docs/job-specification/connect.html.md
@@ -38,11 +38,12 @@ level.
sidecar_service {}
}
}
+
task "web" {
- driver = "docker"
- config {
- image = "test/test:v1"
- }
+ driver = "docker"
+ config {
+ image = "test/test:v1"
+ }
}
}
}
diff --git a/website/source/docs/job-specification/service.html.md b/website/source/docs/job-specification/service.html.md
index 7cfd851cc..8859be214 100644
--- a/website/source/docs/job-specification/service.html.md
+++ b/website/source/docs/job-specification/service.html.md
@@ -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`1, and `tcp` checks.
+- `connect` - Configures the [Consul Connect][connect] integration. Only
+ available on group services.
+
- `name` `(string: "--")` - 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.
[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"