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:
Vageesha17 2019-05-15 20:32:35 +05:30 committed by Kubernetes Prow Robot
parent 5cb394245f
commit 4bb98f7395
1 changed files with 8 additions and 8 deletions

View File

@ -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: