Modify the wrong hpa command. (#5009)

This commit is contained in:
Kenblair1226
2017-08-18 02:40:55 +08:00
committed by Steve Perry
parent 5af8f6feae
commit 21f09fd6cc
@@ -134,7 +134,7 @@ by making use of the `autoscaling/v2alpha1` API version.
First, get the YAML of your HorizontalPodAutoscaler in the `autoscaling/v2alpha1` form:
```shell
$ kubectl get hpa.autoscaling.v2alpha1 -o yaml > /tmp/hpa-v2.yaml
$ kubectl get hpa.v2alpha1.autoscaling -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: