-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Description
When running envoy in router
configuration there is an error calling pilot cds
I believe the issue is with the following line below which is from and ExternalService
Envoy Router Error
[2018-02-26 02:19:15.999][15][warning][upstream] external/envoy/source/common/upstream/cds_subscription.cc:67] cds: fetch failure: key 'hosts' missing or not an array from lines 82-88
lines 82-88 from pilot curl http://istio-pilot:8080/v1/clusters/istio-router/router~....
{
"name": "out.weather.com|external-HTTP-80",
"service_name": "weather.com|external-HTTP-80",
"connect_timeout_ms": 1000,
"type": "strict_dns",
"lb_type": "round_robin"
},
External Service declaration
apiVersion: config.istio.io/v1alpha2
kind: ExternalService
metadata:
name: weather
namespace: istio-system
spec:
hosts:
- weather.com
ports:
- number: 80
name: http
protocol: http
discovery: "DNS"
Envoy args
- name: istio-router
image: gcr.io/istio-testing/proxy:e905f919144177e6258b09588636782e4d55d582
args:
- proxy
- router
-...