Merge pull request #452 from gouyang/fix_hpa_rs

Change scaleRef to scaleTargetRef
This commit is contained in:
Piotr Szczesniak
2016-05-26 07:23:10 +02:00
+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