Skip to content

Commit

Permalink
Change formatting of example-ingress.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
drejmar authored Sep 25, 2019
1 parent c751f5c commit d628408
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ The following file is an Ingress resource that sends traffic to your Service via
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- host: hello-world.info
http:
paths:
- path: /|/(.+)
backend:
serviceName: web
servicePort: 8080
rules:
- host: hello-world.info
http:
paths:
- path: /|/(.+)
backend:
serviceName: web
servicePort: 8080

1. Create the Ingress resource by running the following command:

Expand Down Expand Up @@ -232,10 +232,10 @@ The following file is an Ingress resource that sends traffic to your Service via
1. Edit the existing `example-ingress.yaml` and add the following lines:

```yaml
- path: /v2/*
backend:
serviceName: web2
servicePort: 8080
- path: /v2/*
backend:
serviceName: web2
servicePort: 8080
```

1. Apply the changes:
Expand Down

0 comments on commit d628408

Please sign in to comment.