
apiVersion: autoscaling/v2beta1kind: HorizontalPodAutoscalermetadata:name: nginx-hpanamespace: kube-systemspec:maxReplicas: 4metrics:- pods:metricName: http_requeststargetAverageValue: '10'type: PodsminReplicas: 2scaleTargetRef:apiVersion: apps/v1kind: Deploymentname: nginx-ingress-controller

