Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confluence Data Center Method #4

Open
sistason opened this issue Jul 8, 2019 · 2 comments
Open

Confluence Data Center Method #4

sistason opened this issue Jul 8, 2019 · 2 comments

Comments

@sistason
Copy link

sistason commented Jul 8, 2019

Hi,

I used this repo as a starting point for K8s deployment and also got stuck at the clustering problem of confluence-dc.
I solved that and successfully run Confluence on Kubernetes by generating n services (n=replicas), each with:

type: ClusterIP
ClusterIP: 10.10.10.{{254-n}}
selector:
  app: confluence-{{n}}

this way, you have static IPs to put into the config to use tcp_ip for cluster.type.

That method was more K8s-y than using VPN-sidecars for static IPs or such.
Just a suggestion to give back to you, thanks for helping me with your code :)

@Bonn93
Copy link
Owner

Bonn93 commented Jul 9, 2019

Thanks! That should work until there's better cluster discovery options or someone brings a kube-operator to the table. 👍

@Bonn93
Copy link
Owner

Bonn93 commented Mar 30, 2020

Hi @sistason, there's a little bit of magic for this now which might help you. Check out the connie branch for HZ discovery in Confluence 7+

https://github.com/Bonn93/atlassian-kubernetes/blob/connie-testing/confluence/confluence_sts.yml

Paired with volume templates for the pods local home dir, this should mostly fix this deployment/scaling issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants