Open adamlith opened 5 years ago
You should consider using a yaml file for creating the hpa, so as to not teach someone to do anything non-declarativly:
Put this in a azure-vote-fron-hpa.yaml file: apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: azure-vote-front-hpa spec: maxReplicas: 10 minReplicas: 3 scaleTargetRef: apiVersion: extensions/v1beta1 kind: Deployment name: azure-vote-front-hpa targetCPUUtilizationPercentage: 50
And then modify the instructions to use that file.
👍 . But next time a PR, right :-)
You should consider using a yaml file for creating the hpa, so as to not teach someone to do anything non-declarativly:
Put this in a azure-vote-fron-hpa.yaml file: apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: azure-vote-front-hpa spec: maxReplicas: 10 minReplicas: 3 scaleTargetRef: apiVersion: extensions/v1beta1 kind: Deployment name: azure-vote-front-hpa targetCPUUtilizationPercentage: 50
And then modify the instructions to use that file.