Updated hpa config file to the latest API version.

Updated hpa config file to the latest API version.
This commit is contained in:
Jerzy Szczepkowski
2016-09-30 11:06:51 +02:00
parent f2223b662f
commit 95e92ad547
2 changed files with 8 additions and 10 deletions
@@ -1,14 +1,13 @@
apiVersion: extensions/v1beta1
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
namespace: default
spec:
scaleRef:
scaleTargetRef:
apiVersion: extensions/v1beta1
kind: Deployment
name: php-apache
subresource: scale
minReplicas: 1
maxReplicas: 10
cpuUtilization:
targetPercentage: 50
targetCPUUtilizationPercentage: 50