e>secretName</code> since a future step requires it.</p></li><li><p>To scale automatically, declare a new horizontal pod autoscaler with the following configuration:</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: my-ingressgateway
  namespace: istio-system
spec:
  maxReplicas: 5
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1beta1
    kind: Deployment
    name: my-ingressgateway
  targetCPUUtilizat