I have been trying to setup my cluster such that telemetry is gathered for all external requests, and have been following this site. From my understanding, it seems that to do this, I must set up a ServiceEntry. However, I am not sure how to do this such that the ServiceEntry works for all hosts. I attempted to set up a service entry with the following configuration:
kind: ServiceEntry metadata: name: test spec: hosts: - "*" ports: - number: 443 name: https protocol: HTTPS resolution: DNS location: MESH_EXTERNAL
However, it gives me the following error:
Error from server: error when creating "STDIN": admission webhook "validation.istio.io" denied the request: configuration is invalid: 2 errors occurred: * invalid host * * hosts must be FQDN if no endpoints are provided for resolution mode DNS
I was wondering how I would achieve this, or if there is a better way of doing so?