Fix instructions to define HPA declaratively

This commit is contained in:
Suraj Deshmukh
2017-12-04 10:53:42 +05:30
parent 0b9fd9a718
commit 8ad19e8ec6
2 changed files with 18 additions and 18 deletions
@@ -0,0 +1,13 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: php-apache
namespace: default
spec:
scaleTargetRef:
apiVersion: apps/v1beta1
kind: Deployment
name: php-apache
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 50