apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: captureorder
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 50