Connecting ignite server that runs as docker container inside kubernetes from outside client process

12/27/2017

I have minikube running kubernetes inside a virtual box. one of the docker container it runs is an ignite server. during my development I try to access the ignite server from outside java client but the discovery fails with all configurations I tried. is it possible at all? If yes can someone give an example?

-- Yaron R.
discovery
ignite
kubernetes

1 Answer

1/23/2018

To enable Apache Ignite nodes auto-discovery in Kubernetes, you need to enable TcpDiscoveryKubernetesIpFinder in IgniteConfiguration. Read more about this on https://apacheignite.readme.io/docs/kubernetes-deployment. Your Kubernetes service definitions should have the container exposed port specified, then minikube should give you service URL after successful deployment.

-- Lea Klein
Source: StackOverflow