You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, every Envoy Connect sidecar would spawn as many worker
threads as logical CPU cores. That is Envoy's default behavior when
`--concurrency` is not explicitly set. Nomad now sets the concurrency
flag to 1, which is sensible for the default cpu = 250 Mhz resources
allocated for sidecar proxies. The concurrency value can be configured
in Client configuration by setting `meta.connect.proxy_concurrency`.
Closes#9341
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ IMPROVEMENTS:
30
30
* consul: Support Consul namespace (Consul Enterprise) in client configuration. [[GH-8849](https://github.com/hashicorp/nomad/pull/8849)]
31
31
* consul/connect: Dynamically select envoy sidecar at runtime [[GH-8945](https://github.com/hashicorp/nomad/pull/8945)]
32
32
* consul/connect: Enable setting `datacenter` field on connect upstreams [[GH-8964](https://github.com/hashicorp/nomad/issues/8964)]
33
+
* consul/connect: Envoy concurrency now defaults to 1 rather than number of cores [[GH-9341](https://github.com/hashicorp/nomad/issues/9341)]
33
34
* csi: Support `nomad volume detach` with previously garbage-collected nodes. [[GH-9057](https://github.com/hashicorp/nomad/issues/9057)]
34
35
* csi: Relaxed validation requirements when checking volume capabilities with controller plugins, to accommodate existing plugin behaviors. [[GH-9049](https://github.com/hashicorp/nomad/issues/9049)]
35
36
* driver/docker: Upgrade pause container and detect architecture [[GH-8957](https://github.com/hashicorp/nomad/pull/8957)]
Copy file name to clipboardexpand all lines: website/pages/docs/upgrade/upgrade-specific.mdx
+14-3
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ standard upgrade flow.
19
19
20
20
### HCL2 for Job specification
21
21
22
-
Nomad 1.0.0 adopts HCL2 for parsing the job spec. HCL2 extends HCL with more
22
+
Nomad v1.0.0 adopts HCL2 for parsing the job spec. HCL2 extends HCL with more
23
23
expression and reuse support, but adds some stricter schema for HCL blocks (a.k.a. stanzas). Check [HCL](/docs/job-specification/hcl2) for more details.
24
24
25
25
### Signal used when stopping Docker tasks
@@ -73,12 +73,12 @@ Nomad. The specific configuration values replaced are:
73
73
74
74
### Envoy proxy versions
75
75
76
-
Nomad 1.0.0 changes the behavior around the selection of Envoy version used
76
+
Nomad v1.0.0 changes the behavior around the selection of Envoy version used
77
77
for Connect sidecar proxies. Previously, Nomad always defaulted to Envoy v1.11.2
78
78
if neither the `meta.connect.sidecar_image` parameter or `sidecar_task` stanza
79
79
were explicitly configured. Likewise the same version of Envoy would be used for
80
80
Connect ingress gateways if `meta.connect.gateway_image` was unset. Starting with
81
-
Nomad 1.0.0, each Nomad Client will query Consul for a list of supported Envoy
81
+
Nomad v1.0.0, each Nomad Client will query Consul for a list of supported Envoy
82
82
versions. Nomad will make use of the latest version of Envoy supported by the
83
83
Consul agent when launching Envoy as a Connect sidecar proxy. If the version of
84
84
the Consul agent is older than v1.7.8, v1.8.4, or v1.9.0, Nomad will fallback to
@@ -94,6 +94,15 @@ the time of the upgrade for each node will ensure Connect workloads are properly
94
94
rescheduled onto nodes in such a way that the Nomad Clients, Consul agents, and
95
95
Envoy sidecar tasks maintain compatibility with one another.
96
96
97
+
### Envoy worker threads
98
+
99
+
Nomad v1.0.0 changes the default behaviour around the number of worker threads
100
+
created by the Envoy sidecar proxy when using Consul Connect. Previously, the
101
+
Envoy [`--concurrency`][envoy_concurrency] argument was left unset, which caused
102
+
Envoy to spawn as many worker threads as logical cores available on the CPU. The
103
+
`--concurrency` value now defaults to `1` and can be configured by setting the
104
+
[`meta.connect.proxy_concurrency`][proxy_concurrency] property in client configuration.
105
+
97
106
## Nomad 0.12.8
98
107
99
108
### Docker volume mounts
@@ -859,6 +868,7 @@ deleted and then Nomad 0.3.0 can be launched.
0 commit comments