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

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

Creating new Jira issues throws java.lang.NullPointerException


If you get the java.lang.NullPointerException error page as above when you are trying to create a new issue, then most likely it has something to do with the Default Issue Type Scheme of your Jira. Follow the diagnoses steps in this knowledge base Jira server throws NullPointerException when creating new issues or changing project settings … Continue reading Creating new Jira issues throws java.lang.NullPointerException