github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/ingress/templates/autoscale.yaml (about) 1 {{- if .Values.autoscaleMin }} 2 apiVersion: autoscaling/v2beta1 3 kind: HorizontalPodAutoscaler 4 metadata: 5 name: istio-ingress 6 namespace: {{ .Release.Namespace }} 7 spec: 8 maxReplicas: {{ .Values.autoscaleMax }} 9 minReplicas: {{ .Values.autoscaleMin }} 10 scaleTargetRef: 11 apiVersion: apps/v1beta1 12 kind: Deployment 13 name: istio-ingress 14 metrics: 15 - type: Resource 16 resource: 17 name: cpu 18 targetAverageUtilization: 80 19 {{ end }}