Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,418,837
Community Members
 
Community Events
171
Community Groups

Has anyone been successful getting the Confluence containers to run on kubernetes?

I'm trying to migrate an old version of Confluence to a kubernetes deployment and having a surprising amount of difficulty getting past the install phase. Every time I complete the database configuration web-form the container crashes. (I have tried mysql, mariadb, postgresql and even the flat local file database, and the container still crashes.)

Things I have verified:

  • localhost is resolvable in /etc/hosts and in the container

  • write permissions to the confluence data directory are fine

  • selinux is in permissive mode on the container host. (I know, bad policy, but I'm currently testing)

  • access to the database server is fine

  • memory limits are golden (16G memory and 2 cpus dedicated)

This almost certainly has to be related to kubernetes in some way, because the container runs fine when run on a host via docker. Has anyone ran into these issues and successfully deployed Confluence? I have even tried creating an un-official container image and installing Confluence there, but this issue persists.

1 comment

Hey Ryan, Hope you got this to work? I am studying on setting up auto scaling for Jira and Confluence, any inputs/best practices from you would be much helpful.

Thanks.

MB Atlassian Team Mar 01, 2020

Clustering and setup is difficult. In short, you would need: 

* Persistent Volume Templates for each node to persist the confluence local home dir
* leverage hazelcast clustering, sneeky one here: https://github.com/Bonn93/atlassian-kubernetes/blob/connie-testing/confluence/confluence_sts.yml
* Use the official images and set the XMX/XMS to atleast 2GB, it's funky below that and seems to crash

Like Praveen likes this

Comment

Log in or Sign up to comment