Skip to content

Commit 677a1da

Browse files
shoenigschmichael
authored andcommitted
Merge pull request #9611 from hashicorp/b-gateway-concurrency
consul/connect: set default Envoy worker threads for gateways
1 parent 9d83bf4 commit 677a1da

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

nomad/job_endpoint_hook_connect.go

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ var (
4545
"args": []interface{}{
4646
"-c", structs.EnvoyBootstrapPath,
4747
"-l", "${meta.connect.log_level}",
48+
"--concurrency", "${meta.connect.proxy_concurrency}",
4849
"--disable-hot-restart",
4950
},
5051
}

website/pages/docs/upgrade/upgrade-specific.mdx

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ upgrade. However, specific versions of Nomad may have more details provided for
1414
their upgrades as a result of new features or changed behavior. This page is
1515
used to document those details separately from the standard upgrade flow.
1616

17+
## Nomad 1.0.1
18+
19+
#### Envoy worker threads
20+
21+
Nomad v1.0.0 changed the default behavior around the number of worker threads
22+
created by the Envoy when being used as a sidecar for Consul Connect. In Nomad
23+
v1.0.1, the same default setting of [`--concurrency=1`][envoy_concurrency] is set for Envoy when used
24+
as a Connect gateway. As before, the [`meta.connect.proxy_concurrency`][proxy_concurrency]
25+
property can be set in client configuration to override the default value.
26+
1727
## Nomad 1.0.0
1828

1929
### HCL2 for Job specification

0 commit comments

Comments
 (0)