Use an Existing Shared Volume Claim with Artifactory HA Helm Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

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.

  1. 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
  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