blob: 55386ceeaf2f886fe8bc39f244b3737ec35c5dfd [file] [log] [blame]
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: exec-server
spec:
behavior:
scaleUp:
policies:
- periodSeconds: 5
type: Pods
value: 10
stabilizationWindowSeconds: 300
maxReplicas: 2560
metrics:
- resource:
name: memory
target:
averageUtilization: 80
type: Utilization
type: Resource
minReplicas: 512
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: exec-server