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: metadata:
name: frontend-scaler name: frontend-scaler
spec: spec:
scaleRef: scaleTargetRef:
kind: ReplicaSet kind: ReplicaSet
name: frontend name: frontend
subresource: scale
minReplicas: 3 minReplicas: 3
maxReplicas: 10 maxReplicas: 10
cpuUtilization: targetCPUUtilizationPercentage: 50
targetPercentage: 50