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