istio.io/istio@v0.0.0-20240520182934-d79c90f27776/operator/cmd/mesh/testdata/manifest-generate/output/autoscaling_ingress_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 - resource: 22 name: memory 23 target: 24 averageUtilization: 80 25 type: Utilization 26 minReplicas: 1 27 scaleTargetRef: 28 apiVersion: apps/v1 29 kind: Deployment 30 name: istio-ingressgateway 31 32 --- 33 34 35 apiVersion: autoscaling/v2 36 kind: HorizontalPodAutoscaler 37 metadata: 38 labels: 39 app: istiod 40 install.operator.istio.io/owning-resource: unknown 41 istio.io/rev: default 42 operator.istio.io/component: Pilot 43 release: istio 44 name: istiod 45 namespace: istio-system 46 spec: 47 maxReplicas: 5 48 metrics: 49 - resource: 50 name: cpu 51 target: 52 averageUtilization: 90 53 type: Utilization 54 type: Resource 55 - resource: 56 name: memory 57 target: 58 averageUtilization: 90 59 type: Utilization 60 type: Resource 61 minReplicas: 1 62 scaleTargetRef: 63 apiVersion: apps/v1 64 kind: Deployment 65 name: istiod 66 67 ---