Service Discovery
Every time a data-plane (served by kuma-dp
) connects to the control-plane, it initiates a gRPC streaming connection to Kuma (served by kuma-cp
) in order to retrieve the latest policiy configuration, and send diagnostic information to the control-plane.
In standalone mode the kuma-dp
process will connect directly to the instances.
The connection between the data-planes and the control-plane is not on the execution path of the service requests, which means that if the data-plane temporarily loses connection to the control-plane the service traffic won’t be affected.
While doing so, the data-planes also advertise the IP address of each service. The IP address is retrieved:
Kuma already ships with its own on both standalone and multi-zone modes.
Connectivity among the instances can happen in two ways: