apiVersion: autoscaling/v2beta2 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: exec-server | |
spec: | |
maxReplicas: 2560 | |
metrics: | |
- resource: | |
name: memory | |
target: | |
type: Utilization | |
averageUtilization: 80 | |
type: Resource | |
minReplicas: 512 | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: Deployment | |
name: exec-server |