I have an issue when OpenShift project deployed with autoscaler configuration like this:
- Min Pods = 10
- Max Pods = 15
I can see that deployer immediately creates 5 pods and TcpDiscoveryKubernetesIpFinder creates not one grid, but multiple grids with same igniteInstanceName.
This issue could be is solved by this workaround
I changed autoscaler configuration to start with ONE pod:
- Min Pods = 1
- Max Pods = 15
And then scale up to 10 pods (or replicas=10):
- Min Pods = 10
- Max Pods = 15
Looks like TcpDiscoveryKubernetesIpFinder is not locking when it reads data from Kubernetes service that maintains list of IP addresses of all project pods. So when multiple pods started simultaneously it cause multiple grids creation. But when there is ONE pod started and grid with this pod created - new autoscaled pods are joining this existing grid.
PS No issues with ports 47100 or 47500, comms and discovery is working.