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

How to provide extra volumes to Jira DC on EKS

Javier Barrio
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 24, 2023

Following Jira DC EKS Chart  to add additional volume to handle attachments for a Jira cluster inside EKS, it seems there's a typo in additionalVolumeMounts, which needs a '- name' key instead of 'volumeName'.

So far this example, after adding a -name key, still doesn't work (of course PV/PVC has been created and tested beforehand):

additional:
- name: "shared-home-attachments"
persistentVolumeClaim:
claimName: "jira-shared-home-attachments-pvc"

additionalVolumeMounts:
- volumeName: shared-home-attachments
mountPath: "/var/atlassian/application-data/jira/data/attachments"

 

This fails with this AWS EKS error on the StatefulSet:

create Pod atlassian-jira-0 in StatefulSet atlassian-jira failed error: Pod "atlassian-jira-0" is invalid: [spec.containers[0].volumeMounts[3].name: Required value, spec.containers[0].volumeMounts[3].name: Not found: ""]

If I change this to be:

additional:
- name: "shared-home-attachments"
persistentVolumeClaim:
claimName: "jira-shared-home-attachments-pvc"

additionalVolumeMounts:
- name: "shared-home-attachments"
volumeName: shared-home-attachments
mountPath: "/var/atlassian/application-data/jira/data/attachments"


then the StatefulSet doesn't fail, but fails on the pot itself:


Unable to attach or mount volumes: unmounted volumes=[shared-home], unattached volumes=[shared-home-attachments shared-home kube-api-access-vpsbs local-home]: timed out waiting for the condition

If I remove this additional volume from the chart configuration, the deployment works great and I have a single-pod Jira DC running.containers

Would you be so kind to provide a working example to add a volume to host attachments? And if possible, does additionalVolumeMounts support 'subDirectory' setting like plugins/libraries do?

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.5
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events