You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/ingress/annotations.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -248,6 +248,8 @@ Traffic Routing can be controlled with following annotations:
248
248
ARN can be used in forward action(both simplified schema and advanced schema), it must be an targetGroup created outside of k8s, typically an targetGroup for legacy application.
249
249
!!!note "use ServiceName/ServicePort in forward Action"
250
250
ServiceName/ServicePort can be used in forward action(advanced schema only).
251
+
!!!note "use ServiceNamespace in forward Action"
252
+
ServiceNamespace can be used in combination with ServiceName/ServicePort in forward action to reference a Service in a different namespace than the Ingress resource (advanced schema only).
251
253
252
254
!!!warning ""
253
255
[Auth related annotations](#authentication) on Service object will only be respected if a single TargetGroup in is used.
@@ -257,6 +259,7 @@ Traffic Routing can be controlled with following annotations:
257
259
- redirect-to-eks: redirect to an external url
258
260
- forward-single-tg: forward to a single targetGroup [**simplified schema**]
259
261
- forward-multiple-tg: forward to multiple targetGroups with different weights and stickiness config [**advanced schema**]
262
+
- forward-multiple-tg-multiple-ns: forward to multiple targetGroups with services in different namespaces
260
263
261
264
```yaml
262
265
apiVersion: networking.k8s.io/v1
@@ -274,6 +277,8 @@ Traffic Routing can be controlled with following annotations:
@@ -307,6 +312,13 @@ Traffic Routing can be controlled with following annotations:
307
312
name: forward-multiple-tg
308
313
port:
309
314
name: use-annotation
315
+
- path: /path3
316
+
pathType: Exact
317
+
backend:
318
+
service:
319
+
name: forward-multiple-tg-multiple-ns
320
+
port:
321
+
name: use-annotation
310
322
```
311
323
312
324
- <aname="conditions">`alb.ingress.kubernetes.io/conditions.${conditions-name}`</a> Provides a method for specifying routing conditions **in addition to original host/path condition on Ingress spec**.
0 commit comments