blob: b280bdcb698455afbdcf649c0ba40d419896098e [file] [log] [blame]
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: file-server
spec:
maxReplicas: 1280
metrics:
- resource:
name: cpu
target:
type: Utilization
averageUtilization: 60
type: Resource
- resource:
name: memory
target:
type: Utilization
averageUtilization: 60
type: Resource
minReplicas: 256
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: file-server