Update the command in /docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
This commit is contained in:
@@ -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:
|
First, get the YAML of your HorizontalPodAutoscaler in the `autoscaling/v2beta2` form:
|
||||||
|
|
||||||
```shell
|
```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:
|
Open the `/tmp/hpa-v2.yaml` file in an editor, and you should see YAML which looks like this:
|
||||||
|
|||||||
Reference in New Issue
Block a user