To use an existing volume claim (for data and backup) that is to be shared across all nodes, you will need to do the following.
Create PVCs with ReadWriteMany that match the naming conventions.
{{ template "artifactory-ha.fullname" . }}-data-pvc-<claim-ordinal> {{ template "artifactory-ha.fullname" . }}-backup-pvc
Here is an example that shows 2 existing volume claims being used.
myexample-artifactory-ha-data-pvc-0 myexample-artifactory-ha-data-pvc-1 myexample-artifactory-ha-backup-pvc
Set the
artifactory.persistence.fileSystem.existingSharedClaim.enabled
in thevalues.yaml
file totrue
.-- set artifactory.persistence.fileSystem.existingSharedClaim.enabled=true -- set artifactory.persistence.fileSystem.existingSharedClaim.numberOfExistingClaims=2