Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (17 sloc) 363 Bytes
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: helloworld-function-figlet
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: helloworld-function-figlet
minReplicas: 1
maxReplicas: 20
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 10