github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-032_validate_server_hpa/04-assert.yaml (about)

     1  apiVersion: autoscaling/v2
     2  kind: HorizontalPodAutoscaler
     3  metadata:
     4    name: example-argocd-server
     5  spec:
     6    maxReplicas: 12
     7    metrics:
     8    - resource:
     9        name: cpu
    10        target:
    11          averageUtilization: 50
    12          type: Utilization
    13      type: Resource
    14    minReplicas: 8
    15    scaleTargetRef:
    16      apiVersion: apps/v1
    17      kind: deployment
    18      name: example-argocd-server