File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ Traffic Routing can be controlled with following annotations:
140
140
141
141
- [amazon-vpc-cni-k8s](https://github.com/aws/amazon-vpc-cni-k8s)
142
142
143
+ !!!note ""
144
+ `ip` mode is required for sticky sessions to work with Application Load Balancers.
145
+
143
146
!!!example
144
147
```
145
148
alb.ingress.kubernetes.io/target-type: instance
@@ -613,9 +616,10 @@ Custom attributes to LoadBalancers and TargetGroups can be controlled with follo
613
616
```
614
617
alb.ingress.kubernetes.io/target-group-attributes: deregistration_delay.timeout_seconds=30
615
618
```
616
- - enable sticky sessions (Please remember to check the target group type to have the appropriate behavior).
619
+ - enable sticky sessions (requires `alb.ingress.kubernetes.io/ target-type` be set to `ip`)
617
620
```
618
621
alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true,stickiness.lb_cookie.duration_seconds=60
622
+ alb.ingress.kubernetes.io/target-type: ip
619
623
```
620
624
- set load balancing algorithm to least outstanding requests
621
625
```
You can’t perform that action at this time.
0 commit comments