Move example-ingress.yaml

The commit (a79db9d5de) made the sample
YAML for Ingress a standalone file, but it was placed into a NEW
`examples/ingress` directory. This PR moves it to
`examples/service/networking` subdirectory where all other Ingress
examples are located. Having a single file under a dedicated directory
seems not good.
This commit is contained in:
Qiming Teng 2020-10-12 11:17:08 +08:00
parent 29e13ed527
commit 9fa03cbdf1
2 changed files with 2 additions and 2 deletions

View File

@ -132,12 +132,12 @@ The following file is an Ingress resource that sends traffic to your Service via
1. Create `example-ingress.yaml` from the following file:
{{< codenew file="ingress/example-ingress.yaml" >}}
{{< codenew file="service/networking/example-ingress.yaml" >}}
1. Create the Ingress resource by running the following command:
```shell
kubectl apply -f https://k8s.io/examples/ingress/example-ingress.yaml
kubectl apply -f https://k8s.io/examples/service/networking/example-ingress.yaml
```
Output: