Existing Shared Volume Claim for Artifactory HA Helm Installation

Configure Artifactory HA Helm to use shared ReadWriteMany PVCs for data and backup across all nodes.

To use an existing volume claim (for data and backup) shared across all nodes, complete the following steps.

  1. Create PVCs with ReadWriteMany that match the naming conventions.

    {{ template "artifactory-ha.fullname" . }}-data-pvc-<claim-ordinal>
    {{ template "artifactory-ha.fullname" . }}-backup-pvc

    The following example shows 2 existing volume claims.

      myexample-artifactory-ha-data-pvc-0
      myexample-artifactory-ha-data-pvc-1
      myexample-artifactory-ha-backup-pvc
  2. Set the artifactory.persistence.fileSystem.existingSharedClaim.enabled in the values.yaml file to true.

    -- set artifactory.persistence.fileSystem.existingSharedClaim.enabled=true
    -- set artifactory.persistence.fileSystem.existingSharedClaim.numberOfExistingClaims=2