mirror of https://github.com/status-im/consul.git
fix(connect envoy): set initial_fetch_timeout to wait for initial xDS… (#17317)
* fix(connect envoy): set initial_fetch_timeout to wait for initial xDS indefinitely --------- Co-authored-by: Kiril Angov <kiril.angov@gmail.com>
This commit is contained in:
parent
abeccb4c76
commit
be7d2a4d84
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
connect: fix a bug with Envoy potentially starting with incomplete configuration by not waiting enough for initial xDS configuration.
|
||||
```
|
|
@ -281,10 +281,12 @@ const bootstrapTemplate = `{
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -219,10 +219,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -185,10 +185,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -206,10 +206,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -196,10 +196,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -183,10 +183,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -221,10 +221,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -274,10 +274,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -310,10 +310,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -310,10 +310,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -273,10 +273,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -62,10 +62,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -184,10 +184,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
|
@ -217,10 +217,12 @@
|
|||
"dynamic_resources": {
|
||||
"lds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"cds_config": {
|
||||
"ads": {},
|
||||
"initial_fetch_timeout": "0s",
|
||||
"resource_api_version": "V3"
|
||||
},
|
||||
"ads_config": {
|
||||
|
|
Loading…
Reference in New Issue