azch-captureorder/manifests/hpa.yaml

12 строки
250 B
YAML

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