public class ThinClientKubernetesAddressFinder extends Object implements ClientAddressFinder
The implementation is based on a distinct Kubernetes service. The name of the service must be set with
KubernetesConnectionConfiguration. As for Ignite pods, it's recommended to label them in such a way that
the service will target only server nodes.
The address finder, in its turn, will call this service to retrieve Ignite pods IP addresses. The port is set with value passed to constructor. Make sure that all Ignite pods occupy a similar ClientConnector port, otherwise they will not be able to connect each other using this address finder.
|Constructor and Description|
|Modifier and Type||Method and Description|
Get addresses of Ignite server nodes within a cluster.
public ThinClientKubernetesAddressFinder(KubernetesConnectionConfiguration cfg)
public ThinClientKubernetesAddressFinder(KubernetesConnectionConfiguration cfg, int port)
public String getAddresses()