Merge pull request #28583 from vaibhav2107/hpa-walkthrough

Update the command in /docs/tasks/run-application/horizontal-pod-auto…
This commit is contained in:
Kubernetes Prow Robot 2021-07-29 14:05:19 -07:00 committed by GitHub
commit f470819727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ by making use of the `autoscaling/v2beta2` API version.
First, get the YAML of your HorizontalPodAutoscaler in the `autoscaling/v2beta2` form:
```shell
kubectl get hpa.v2beta2.autoscaling -o yaml > /tmp/hpa-v2.yaml
kubectl get hpa php-apache -o yaml > /tmp/hpa-v2.yaml
```
Open the `/tmp/hpa-v2.yaml` file in an editor, and you should see YAML which looks like this: