Service Discovery
When a data plane proxy connects to the control-plane, it initiates a gRPC streaming connection to the control plane. It retrieves the latest policy configuration from the control plane and sends diagnostic information to the control plane.
In standalone mode the kuma-dp
process connects directly to the kuma-cp
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 kuma-dp
instances can happen in two ways: