Skip to content

Commit

Permalink
update service annotations live docs (kubernetes-sigs#2320)
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorj authored Oct 26, 2021
1 parent f5b1bc3 commit b62302e
Show file tree
Hide file tree
Showing 2 changed files with 202 additions and 25 deletions.
8 changes: 4 additions & 4 deletions docs/guide/ingress/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,9 @@ Custom attributes to LoadBalancers and TargetGroups can be controlled with follo
!!!warning ""
Only attributes defined in the annotation will be updated. To unset any AWS defaults(e.g. Disabling access logs after having them enabled once), the values need to be explicitly set to the original values(`access_logs.s3.enabled=false`) and omitting them is not sufficient.

!!!note ""
- If `deletion_protection.enable=true` is in annotation, the controller will not be able to delete the ALB during reconciliation. Once the attribute gets edited to `deletion_protection.enable=false` during reconciliation, the deployer will force delete the resource.
- Please note, if the deletion protection is not enabled via annotation (e.g. via AWS console), the controller still deletes the underlying resource.
!!!note ""
- If `deletion_protection.enable=true` is in annotation, the controller will not be able to delete the ALB during reconciliation. Once the attribute gets edited to `deletion_protection.enable=false` during reconciliation, the deployer will force delete the resource.
- Please note, if the deletion protection is not enabled via annotation (e.g. via AWS console), the controller still deletes the underlying resource.

!!!example
- enable access log to s3
Expand Down Expand Up @@ -699,7 +699,7 @@ Custom attributes to LoadBalancers and TargetGroups can be controlled with follo
```

## Resource Tags
AWS Load Balancer Controller will automatically apply following tags to AWS resources(ALB/TargetGroups/SecurityGroups) created.
The AWS Load Balancer Controller automatically applies following tags to the AWS resources (ALB/TargetGroups/SecurityGroups/Listener/ListenerRule) it creates:

- `elbv2.k8s.aws/cluster: ${clusterName}`
- `ingress.k8s.aws/stack: ${stackID}`
Expand Down
Loading

0 comments on commit b62302e

Please sign in to comment.