Consolidate YAML files [part-3] (#9237)

This PR consolidates YAML files used in `tasks/run-application`
subdirectory.
This commit is contained in:
Qiming
2018-07-03 02:15:20 +08:00
committed by k8s-ci-robot
parent 378e061cd3
commit a11e02d575
12 changed files with 20 additions and 18 deletions
@@ -385,13 +385,13 @@ HorizontalPodAutoscaler.
Instead of using `kubectl autoscale` command to create a HorizontalPodAutoscaler imperatively we
can use the following file to create it declaratively:
{{< code file="hpa-php-apache.yaml" >}}
{{< codenew file="application/hpa/php-apache.yaml" >}}
We will create the autoscaler by executing the following command:
```shell
$ kubectl create -f https://k8s.io/docs/tasks/run-application/hpa-php-apache.yaml
$ kubectl create -f https://k8s.io/examples/application/hpa/php-apache.yaml
horizontalpodautoscaler "php-apache" created
```
{{% /capture %}}
{{% /capture %}}