Change scaleRef to scaleTargetRef

Fixes kubernetes/kubernetes#24973
pull/452/head
Guohua Ouyang 2016-05-01 07:32:31 +08:00
parent ac078f015f
commit 6408eb1bbd
1 changed files with 2 additions and 4 deletions

View File

@ -3,11 +3,9 @@ kind: HorizontalPodAutoscaler
metadata:
name: frontend-scaler
spec:
scaleRef:
scaleTargetRef:
kind: ReplicaSet
name: frontend
subresource: scale
minReplicas: 3
maxReplicas: 10
cpuUtilization:
targetPercentage: 50
targetCPUUtilizationPercentage: 50