changed the formatting of example-ingress.yaml (#14333)
change the formatting of example-ingress.yaml file. Raising PR for #14284
This commit is contained in:
parent
5cb394245f
commit
4bb98f7395
|
|
@ -143,14 +143,14 @@ The following file is an Ingress resource that sends traffic to your Service via
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: hello-world.info
|
- host: hello-world.info
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /*
|
- path: /*
|
||||||
backend:
|
backend:
|
||||||
serviceName: web
|
serviceName: web
|
||||||
servicePort: 8080
|
servicePort: 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Create the Ingress resource by running the following command:
|
1. Create the Ingress resource by running the following command:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue