Stateful Set in Kubernetes is specifically designed for stateful application, and it works well with Confluence Data Center. This is how I designed to run Confluence Data Center on Kubernetes (AWS EKS). And here is a quick demo of scaling up and down.
Tag: Kubernetes
Configure readinessProbe and livenessProbe for Jira Container on Kubernetes
The kubelet uses liveness probes to know when to restart a Container. For example, liveness probes could catch a deadlock, where an application is running, but unable to make progress. Restarting a Container in such a state can help to make the application more available despite bugs. The kubelet uses readiness probes to know when … Continue reading Configure readinessProbe and livenessProbe for Jira Container on Kubernetes
Configure Traefik Sticky Session in Kubernetes
As wrote earlier, I have a Jira Data Center cluster running on Kubernetes. The cluster has three nodes, and traefik is the ingress controller. https://gist.github.com/jc1518/9f1e0da8d61a865de9eef305d3cb20e2 Sometimes when I create a new issue or open a setting, I got the following errors: The root cause of this is that the request goes to a Jira node … Continue reading Configure Traefik Sticky Session in Kubernetes
Resize Persistent Volume in Kubernetes
You can only resize volumes containing a file system if the file system is XFS, Ext3, or Ext4. When a volume contains a file system, the file system is only resized when a new Pod is using the PersistentVolumeClaim in ReadWrite mode. File system expansion is either done when a Pod is starting up or when a … Continue reading Resize Persistent Volume in Kubernetes
Reindex Jira Data Center without downtime on Kubernetes
There are two ways to reindex Jira Data Center without downtime on Kubernetes. My Jira cluster runs a statefulSet in kubernetes. The configuration details: https://gist.github.com/jc1518/e6ec84f01e4fbe2e5517a02ed38b24ca DON'T use the following methods if you have livenessProbe to monitor the /status. As your pod may get killed when it is doing the re-indexing. You should monitor / for … Continue reading Reindex Jira Data Center without downtime on Kubernetes