blob: 22db68ad5a9f00653af9eb020258f9069264dd22 [file] [log] [blame]
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: execlog-server
spec:
maxReplicas: 8
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: execlog-server
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: 80