Skip to content

Commit

Permalink
add documentation for sticky session
Browse files Browse the repository at this point in the history
  • Loading branch information
M00nF1sh committed Dec 14, 2018
1 parent 72f1134 commit c78c909
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/guide/ingress/annotation.md
Expand Up @@ -31,9 +31,9 @@ You can add kubernetes annotations to ingress and service objects to customize t
|[alb.ingress.kubernetes.io/security-groups](#security-groups)|stringList|N/A|ingress|
|[alb.ingress.kubernetes.io/ssl-policy](#ssl-policy)|string|ELBSecurityPolicy-2016-08|ingress|
|[alb.ingress.kubernetes.io/subnets](#subnets)|stringList|N/A|ingress|
|[alb.ingress.kubernetes.io/success-codes](#success-codes)|string|'200'|ingress|
|[alb.ingress.kubernetes.io/success-codes](#success-codes)|string|'200'|ingress,service|
|[alb.ingress.kubernetes.io/tags](#tags)|stringMap|N/A|ingress|
|[alb.ingress.kubernetes.io/target-group-attributes](#target-group-attributes)|stringMap|N/A|ingress|
|[alb.ingress.kubernetes.io/target-group-attributes](#target-group-attributes)|stringMap|N/A|ingress,service|
|[alb.ingress.kubernetes.io/target-type](#target-type)|instance \| ip|instance|ingress,service|
|[alb.ingress.kubernetes.io/unhealthy-threshold-count](#unhealthy-threshold-count)|integer|'2'|ingress,service|

Expand Down Expand Up @@ -285,6 +285,10 @@ Custom attributes to LoadBalancers and TargetGroups can be controlled with follo
```
alb.ingress.kubernetes.io/target-group-attributes: deregistration_delay.timeout_seconds=30
```
- enable sticky sessions
```
alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true,stickiness.lb_cookie.duration_seconds=60
```

## Resource Tags
ALB Ingress controller will automatically apply following tags to AWS resources(ALB/TargetGroups/SecurityGroups) created.
Expand Down

0 comments on commit c78c909

Please sign in to comment.