blob: e177ab38c88443d1fef81ed6a919c995e69bf5e8 [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: 64
metrics:
- resource:
name: memory
target:
averageUtilization: 80
type: Utilization
type: Resource
minReplicas: 64
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: exec-server