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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.


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:
* 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


Log in or Sign up to comment

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you