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

Run Jira Data Center on Kubernetes Part Two


Continue with the part one, let's do some configurations. As the folder /var/atlassian/application-data/jira/shared-home does not exist in the offical Jira image, we need to create it manually in the container or fork the repository and modify the Dockerfile to create it. You should have one pod called jira-0 running now if you did everything correctly … Continue reading Run Jira Data Center on Kubernetes Part Two

Replace Flannel with Weave Net in Kubernetes


The major reason that I replaced Flannel with Weave Net as the Kubernetes CNI is that Flannel does not support multicast. I did not realize it until my test Confluence DC cluster became dysfunctional. There are two Confluence nodes in the Confluence DC cluster. Each one is a pod, they are working fine when they … Continue reading Replace Flannel with Weave Net in Kubernetes

Use Glusterfs for Dynamic Volume Provisioning in Kubernetes


I recently setup a single node Kubernetes cluster on-premise for testing Jira and Confluence Data Center (which I will write a seperate blog later). In this blog, I want to share how I use Glusterfs as the shared storage which supports dynamic volume provisioning. Traditionally, to use persistent volume (PV) in a pod, you have … Continue reading Use Glusterfs for Dynamic Volume Provisioning in Kubernetes