Seth Hoenig
bdeb73cd2c
consul/connect: dynamically select envoy sidecar at runtime
...
As newer versions of Consul are released, the minimum version of Envoy
it supports as a sidecar proxy also gets bumped. Starting with the upcoming
Consul v1.9.X series, Envoy v1.11.X will no longer be supported. Current
versions of Nomad hardcode a version of Envoy v1.11.2 to be used as the
default implementation of Connect sidecar proxy.
This PR introduces a change such that each Nomad Client will query its
local Consul for a list of Envoy proxies that it supports (https://github.com/hashicorp/consul/pull/8545 )
and then launch the Connect sidecar proxy task using the latest supported version
of Envoy. If the `SupportedProxies` API component is not available from
Consul, Nomad will fallback to the old version of Envoy supported by old
versions of Consul.
Setting the meta configuration option `meta.connect.sidecar_image` or
setting the `connect.sidecar_task` stanza will take precedence as is
the current behavior for sidecar proxies.
Setting the meta configuration option `meta.connect.gateway_image`
will take precedence as is the current behavior for connect gateways.
`meta.connect.sidecar_image` and `meta.connect.gateway_image` may make
use of the special `${NOMAD_envoy_version}` variable interpolation, which
resolves to the newest version of Envoy supported by the Consul agent.
Addresses #8585 #7665
2020-10-13 09:14:12 -05:00
..
2020-10-13 09:14:12 -05:00
2020-09-16 11:06:19 -04:00
2020-08-31 08:45:59 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-12 08:47:05 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2019-04-12 15:48:36 +00:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-09-14 15:08:30 -04:00
2020-10-05 16:07:41 +02:00
2019-05-12 22:04:50 -04:00
2019-05-12 22:04:50 -04:00
2020-06-17 16:31:06 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:31:06 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:31:06 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:31:06 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:31:06 -04:00
2020-10-05 16:07:41 +02:00
2020-06-25 15:16:01 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:31:06 -04:00
2020-10-05 16:07:41 +02:00
2020-06-22 10:27:25 -04:00
2020-10-06 18:03:41 +02:00
2020-03-31 09:45:21 -04:00
2020-10-05 16:07:41 +02:00
2018-12-13 13:22:17 -05:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-06-17 11:03:34 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 11:03:44 -04:00
2020-10-05 16:07:41 +02:00
2019-08-07 09:50:35 -07:00
2018-12-12 09:17:31 -05:00
2018-12-10 12:18:24 -05:00
2020-10-05 16:07:41 +02:00
2019-12-16 10:08:17 -05:00
2018-12-04 11:50:59 -05:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:32:51 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:32:51 -04:00
2020-10-05 16:07:41 +02:00
2020-09-16 11:06:19 -04:00
2019-12-19 14:59:12 -05:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:32:51 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:31:01 -04:00
2019-04-12 20:55:55 +00:00
2020-10-05 16:07:41 +02:00
2020-07-08 10:10:08 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:32:51 -04:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:32:51 -04:00
2020-10-05 16:07:41 +02:00
2020-07-31 10:33:21 -04:00
2020-10-06 09:58:46 +02:00
2020-10-06 09:58:46 +02:00
2020-10-06 09:58:46 +02:00
2020-10-06 09:58:46 +02:00
2020-10-05 16:07:41 +02:00
2020-06-17 16:32:51 -04:00
2020-10-05 16:07:41 +02:00
2020-08-28 14:28:13 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-06-23 18:47:39 +02:00
2020-10-05 16:07:41 +02:00
2020-05-05 10:28:58 -04:00
2020-07-22 10:21:56 -04:00
2019-09-24 09:20:41 -07:00
2020-09-28 12:23:25 -04:00
2020-10-06 09:47:16 -04:00
2020-10-06 10:49:15 -04:00
2020-10-05 16:07:41 +02:00
2020-03-17 14:45:11 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2019-09-09 10:04:41 -07:00
2020-10-05 16:07:41 +02:00
2019-05-13 10:01:19 -04:00
2020-10-05 16:07:41 +02:00
2020-01-02 14:42:27 -08:00
2020-10-05 16:07:41 +02:00
2020-08-29 22:45:42 +08:00
2020-10-05 16:07:41 +02:00
2020-09-16 15:00:12 -04:00
2020-10-05 16:07:41 +02:00
2020-02-16 16:04:59 -06:00
2020-10-05 16:07:41 +02:00
2020-02-16 16:04:59 -06:00
2020-10-06 09:47:16 -04:00
2020-10-05 22:30:01 -04:00
2020-10-05 16:07:41 +02:00
2020-09-30 17:02:37 -04:00
2020-09-24 19:00:53 -04:00
2020-10-05 16:07:41 +02:00
2020-09-24 19:00:53 -04:00
2020-10-05 16:07:41 +02:00
2020-09-24 19:00:53 -04:00
2020-10-05 16:07:41 +02:00
2020-06-19 12:19:38 -04:00
2020-10-05 16:07:41 +02:00
2020-06-19 12:19:38 -04:00
2020-10-05 16:07:41 +02:00
2020-06-19 13:36:22 -04:00
2020-05-21 20:04:38 -04:00
2020-08-31 13:56:54 -04:00
2020-10-05 16:07:41 +02:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00
2020-10-05 16:07:41 +02:00
2020-09-24 11:44:59 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-09-24 11:44:59 -04:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2019-11-20 17:59:34 -06:00
2020-10-05 15:18:30 +02:00
2020-10-05 15:18:30 +02:00
2020-10-05 15:18:30 +02:00
2020-10-05 15:18:30 +02:00
2020-10-06 12:18:17 +02:00
2020-10-06 12:18:17 +02:00
2020-10-05 15:18:30 +02:00
2020-10-05 16:07:41 +02:00
2020-10-05 16:07:41 +02:00
2020-03-23 13:58:30 -04:00
2020-10-05 16:07:41 +02:00
2020-01-13 11:34:46 +01:00
2020-10-05 16:07:41 +02:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-07-23 18:41:38 +03:00
2020-06-25 12:44:19 -04:00
2020-07-01 12:17:51 -04:00
2020-10-09 09:45:03 -04:00
2020-03-23 13:58:30 -04:00
2020-05-11 17:12:51 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:59:25 -04:00
2020-10-05 16:07:41 +02:00
2020-03-23 13:58:30 -04:00
2020-08-11 10:18:54 -04:00