Modify the wrong hpa command. (#5009)
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user