Use an Existing Volume Claim for the Primary Node
To use an existing volume claim for the Artifactory primary node storage, you will need to do the following.
Create a persistent volume claim by the name
volume-<release-name>-artifactory-ha-primary-0
e.g.,volume-myrelease-artifactory-ha-primary-0
.Pass a parameter to
helm install
andhelm upgrade
.... --set artifactory.primary.persistence.existingClaim=true
Use an Existing Volume Claim for the Member Nodes
To use an existing volume claim for the Artifactory member nodes storage, you will need to do the following.
Create persistent volume claims according to the number of replicas defined at
artifactory.node.replicaCount
by the namesvolume-<release-name>-artifactory-ha-member-<ordinal-number>
, e.g.,volume-myrelease-artifactory-ha-member-0
andvolume-myrelease-artifactory-ha-primary-1
.Pass a parameter to
helm install
andhelm upgrade
.... --set artifactory.node.persistence.existingClaim=true