istio.io/istio@v0.0.0-20240520182934-d79c90f27776/operator/cmd/mesh/testdata/manifest-generate/output/autoscaling_v2.golden.yaml (about)

     1  apiVersion: autoscaling/v2
     2  kind: HorizontalPodAutoscaler
     3  metadata:
     4    labels:
     5      app: istio-ingressgateway
     6      install.operator.istio.io/owning-resource: unknown
     7      istio: ingressgateway
     8      istio.io/rev: default
     9      operator.istio.io/component: IngressGateways
    10      release: istio
    11    name: istio-ingressgateway
    12    namespace: istio-system
    13  spec:
    14    maxReplicas: 5
    15    metrics:
    16    - resource:
    17        name: cpu
    18        target:
    19          averageUtilization: 80
    20          type: Utilization
    21      type: Resource
    22    minReplicas: 1
    23    scaleTargetRef:
    24      apiVersion: apps/v1
    25      kind: Deployment
    26      name: istio-ingressgateway
    27  
    28  ---
    29  
    30  
    31  apiVersion: autoscaling/v2
    32  kind: HorizontalPodAutoscaler
    33  metadata:
    34    labels:
    35      app: istiod
    36      install.operator.istio.io/owning-resource: unknown
    37      istio.io/rev: default
    38      operator.istio.io/component: Pilot
    39      release: istio
    40    name: istiod
    41    namespace: istio-system
    42  spec:
    43    maxReplicas: 5
    44    metrics:
    45    - resource:
    46        name: cpu
    47        target:
    48          averageUtilization: 90
    49          type: Utilization
    50      type: Resource
    51    - resource:
    52        name: memory
    53        target:
    54          averageUtilization: 90
    55          type: Utilization
    56      type: Resource
    57    minReplicas: 1
    58    scaleTargetRef:
    59      apiVersion: apps/v1
    60      kind: Deployment
    61      name: istiod
    62  
    63  ---