Hello Community! Could someone please point me to the right direction on how to add a node to confluence in kubernetes. I've installed it in mono by helm chart with values.yml tuned to my environment. local-home is on pv/pvc (readwriteonce), shared home is on readwritemany. database is postgres in clustering mode, works ok. confluence starts ok without errors then i configure it then start 2nd pod by scaling stateful set. 2nd pod starts ok but how to point it to the first one? tried replacing config the same as 1st one (with and without changing server.id) - won't work. is there a document or git repo with a correct one? please. :) running out of time and ideas. thank you!!
@Alexander Tchaikovski can you please elaborate on "how to point it to the first one"? Confluence uses Hazelcast K8s discovery and when you scale up and the 2nd pod starts without errors and passes a health check, things should happen automatically for you and a new member should join the Hazelcast cluster.
Sharing logs of both pods will help too.
@Yevhen hello. my experience is too short to discuss it deeper. just walking in the darkness. here're 2 logs downloaded from k8s. not found attach file here so will past here:
pod-0.log:
pod-1.log:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexander Tchaikovski in your values.yaml do you have `confluence.clustering.enabled: true`? I don't see anything Hazelcast related in the logs.
For example, my logs have this:
2022-04-27 06:16:58,725 INFO [hz.confluence.event-1] [confluence.cluster.hazelcast.LoggingClusterMembershipListener] memberAdded [10.6.21.43]:5701 joined the cluster
2022-04-27 06:16:58,726 INFO [hz.confluence.event-1] [confluence.cluster.hazelcast.LoggingClusterMembershipListener] logClusterMembers Cluster now has 2 members: [[10.6.21.103]:5701, [10.6.21.43]:5701]
2022-04-27 06:16:59,739 INFO [Catalina-utility-1] [confluence.cluster.hazelcast.HazelcastClusterManager] startCluster Confluence cluster node identifier is [36bcb17f]
2022-04-27 06:16:59,751 INFO [Catalina-utility-1] [confluence.cluster.hazelcast.HazelcastClusterManager] startCluster Confluence cluster node name is [confluence-1]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i've managed to start the thing in cluster mode. pod-0 and pod-1 are there in config. one pod is marked in bold, i believe it's correct. there's another issue though. synchrony is not starting. reports:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm... you must have hit a known issue with Synchrony. Can you please try this workaround?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you @Yevhen . very much! the issue was wrong synchrony url in the chart. i didn't place https:// in front of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.