Memory Target Trigger for Artifactory Charts with HPA

Configure Artifactory Helm HPA autoscaling with memory target trigger (v7.111+): minReplicas, maxReplicas, and metrics settings.

From Artifactory version 7.111, the Horizontal Pod Autoscaler (HPA) requires a minimum replica count of 2 (High Availability mode) when used with the Artifactory chart. For the Artifactory HA chart, HPA operates without this restriction.

Here is a sample configuration:

autoscaling:  
  enabled: true  
  minReplicas: 2   
  maxReplicas: 3  
  targetCPUUtilizationPercentage: 70  
  metrics: |  
    - type: Resource  
      resource:  
        name: memory  
        target:  
          type: Utilization  
          averageUtilization: 70 # Target memory usage is 70% of the allocated memory per pod