Skip to content

Commit

Permalink
add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 13, 2023
1 parent 87ed80e commit f49d288
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/full-cluster-tf-upgrade/1.22/common-services/tags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Tagging

## Istio

For the [AWS Load Balancer Controller](https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/guide/service/annotations/#load-balancer-attributes), we want
to enable the following

* S3 Access Logs
```
service.beta.kubernetes.io/aws-load-balancer-attributes: access_logs.s3.enabled=true,access_logs.s3.bucket=my-access-log-bucket,access_logs.s3.prefix=my-app
```
* Disable IP address persistence (needed for Cumulus, may not be needed for others, will make a variable)
```
#service.beta.kubernetes.io/aws-load-balancer-target-group-attributes: stickiness.enabled=true,stickiness.type=source_ip
service.beta.kubernetes.io/aws-load-balancer-target-group-attributes: stickiness.enabled=false
```
* Pass additional tags (from `var.application_tags.auto.tfvars`)
```
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: key=value,key=value
```

0 comments on commit f49d288

Please sign in to comment.