apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: nginx-hpa namespace: default spec: maxReplicas: 10 minReplicas: 3 scaleTargetRef: kind: Deployment name: nginx-deployment targetCPUUtilizationPercentage: 80