We would like to run a cluster of Bitbucket Data Center on Openshift. We can successfully run a cluster locally using Docker Compose with Multicast.
On Openshift, we cannot use Multicast and are therefore stuck with specifying a TCP/IP member list. As far as we understand the configuration, it is read on startup of a Bitbucket instance and when modifying it at runtime, the instances do not register the change. If we define the Pod IPs of two Bitbucket instances in the bitbucket.properties file, we can successfully run a cluster. However, this is not sustainable because Pod IPs will change eventually during restart of a container. We tried using Service IPs instead of Pod IPs, but without success.
We discovered that there is a Hazelcast discovery plugin for Kubernetes. It might be possible to integrate this into the Bitbucket Data Center.
Consequently, we have two questions:
- Has Atlassian planned to provide a dedicated Bitbucket Data Center version to run on Openshift without Multicast?
- Perhaps, we are not configuring Bitbucket Data Center correctly on Openshift. Are there instructions available for the setup?