Change scaleRef to scaleTargetRef

Fixes kubernetes/kubernetes#24973
This commit is contained in:
Guohua Ouyang
2016-05-01 07:32:31 +08:00
parent ac078f015f
commit 6408eb1bbd
+2 -4
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