It supports CDS and EDS in xDS protocol, and realizes incremental push for EDS and MCP. Users can use Envoy or other XDS protocol-enabled clients to dock with Nacos for service discovery.
For distribution packages:
nacos/conf/application.properties to true.
For source code:
nacos/distribution/conf/application.properties to true.
For incremental MCP:
nacos/istio/misc/IstioConfig to false in addition to the above configuration.
In the following example, using Envoy, you can download the Envoy directly or create a mirror and mount the following configuration file.
Config : the port number used can be changed on demand.
lds : when Envoy acquires a listening service, it automatically acquires EDS from the server. The listening service can change as needed.
Note: each instance of the same service should use the same protocol, EDS default to use incremental push.
Deploy Nacos, deployment reference ;
Modify the configuration in accordance with the above requirements;
Start the server, the detailed start command can be seen in the above deployment reference;
Start the client.
Note: The logs are viewed in nacos/logs/istio-main.log
The service configuration registered in the example is as follows, example reference .
The service is configured as above.
Full CDS Example
The services are registered with the following configurations:
In the console, modify only the service-consumer service configuration, push as follows:
Incremental EDS Example
In the console, modify only the service-consumer instance configuration, push as follows: