https://github.com/thesurlydev/jira-k8s
https://github.com/thesurlydev/jira-k8s
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thesurlydev/jira-k8s
- Owner: thesurlydev
- Created: 2020-07-29T03:47:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T17:06:11.000Z (almost 6 years ago)
- Last Synced: 2025-03-31T12:57:40.406Z (about 1 year ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jira-k8s
JIRA Version: 7.13.8
PostgreSQL Version: 9.6
## Known Issue
There seems to be a race condition where JIRA attempts to connect to the PostgreSQL container before it's available.
There are two possible workarounds:
1. Delete the JIRA pod after waiting a couple minutes after the `jira-software-db-0` comes up.
2. Add the `--wait` flag to the `helm install` command.
## Add Helm repository
```bash
helm repo add mox https://helm.mox.sh
helm repo update
```
## Add Namespace
```bash
kubectl create ns jira
```
## Install
Update `values.yaml` with values that suit your needs (see https://chartcenter.io/mox/jira-software) then run the following:
```bash
helm install jira mox/jira-software -n jira -f values.yaml
```
Get the URL:
```bash
./url.sh
```
## Uninstall
```bash
helm delete jira -n jira
```
The PostgreSQL PVC will not get automatically delete so:
```bash
kubectl delete -n jira persistentvolumeclaim data-jira-software-db-0
```
where `data-jira-software-db-0` is the PVC.
## Troubleshooting
To get access to JIRA application container:
```bash
kubectl exec -it jira-jira-software-6545f4c998-tclwt -n jira -- /bin/bash
```
where `jira-jira-software-6545f4c998-9nmb7` is JIRA pod.
To get access to the PostgreSQL container:
```bash
kubectl exec -it jira-software-db-0 -n jira -- /bin/bash
```
## References
* https://github.com/bitnami/bitnami-docker-postgresql
* https://github.com/bitnami/charts/tree/master/bitnami/postgresql
* https://chartcenter.io/mox/jira-software