mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
update ingress spec
This commit is contained in:
parent
03ee303979
commit
97425b7542
@ -149,10 +149,13 @@ spec:
|
||||
- host: echoserver.mycluster.example.org
|
||||
http: &echoserver_root
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: echoserver
|
||||
servicePort: 80
|
||||
path: /
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
name: echoserver
|
||||
port:
|
||||
number: 80
|
||||
pathType: Prefix
|
||||
- host: echoserver.example.org
|
||||
http: *echoserver_root
|
||||
```
|
||||
@ -183,10 +186,13 @@ spec:
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: echoserver
|
||||
servicePort: 80
|
||||
path: /
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
name: echoserver
|
||||
port:
|
||||
number: 80
|
||||
pathType: Prefix
|
||||
```
|
||||
|
||||
In the above example we create a default path that works for any hostname, and
|
||||
@ -217,10 +223,13 @@ spec:
|
||||
- host: echoserver.example.org
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: echoserver
|
||||
servicePort: 80
|
||||
path: /
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
name: echoserver
|
||||
port:
|
||||
number: 80
|
||||
pathType: Prefix
|
||||
```
|
||||
|
||||
The above Ingress object will result in the creation of an ALB with a dualstack
|
||||
@ -251,10 +260,13 @@ spec:
|
||||
- host: echoserver.example.org
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: echoserver
|
||||
servicePort: 80
|
||||
path: /
|
||||
- path: /
|
||||
backend:
|
||||
service:
|
||||
name: echoserver
|
||||
port:
|
||||
number: 80
|
||||
pathType: Prefix
|
||||
```
|
||||
|
||||
The above Ingress object will result in the creation of an NLB. A
|
||||
|
Loading…
Reference in New Issue
Block a user