Hi,

As Mike mentioned, there is a good documentation about deployment in
Kubernetes [1]. The preferable way to configure discovery is
TcpDiscoveryKubernetesIpFinder [2]. Don't forget about serviceName and
namespace parameters.

Once you deployed a cluster you will be able to connect a node using service
DNS <service-name>.<namespace>.svc.cluster.local:<port>. This will work only
inside Kubernetes cluster.

If you are going to connect to a cluster from outside. Make sure that the
service the type of service is LoadBalancer and all required ports are
specified in ignite-service.yaml [3]. As far as I know GCP creates public
IP-address automatically for LoadBalancers. This way, just use that public
IP to connect.

Best Regards,
Roman

[1] https://apacheignite.readme.io/docs/kubernetes-deployment
[2] https://apacheignite.readme.io/docs/kubernetes-ip-finder
[3] https://apacheignite.readme.io/docs/ignite-service



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to