Skip to content

Commit

Permalink
fix: Additional annotation added for NLB in istio pattern (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchintal authored Oct 27, 2023
1 parent 8ca3021 commit 06fd114
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion patterns/istio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ concepts.

## Deploy

See [here](https://aws-ia.github.io/terraform-aws-eks-blueprints/getting-started/#prerequisites) for the prerequisites and steps to deploy this pattern.
See [here](https://aws-ia.github.io/terraform-aws-eks-blueprints/getting-started/#prerequisites) for the prerequisites and run the following command to deploy this pattern.

```sh
terraform apply --auto-approve
```

Once the resources have been provisioned, you will need to replace the `istio-ingress` pods due to a [`istiod` dependency issue](https://github.com/istio/istio/issues/35789). Use the following command to perform a rolling restart of the `istio-ingress` pods:

Expand Down
7 changes: 4 additions & 3 deletions patterns/istio/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ module "eks_blueprints_addons" {
}
service = {
annotations = {
"service.beta.kubernetes.io/aws-load-balancer-type" = "nlb"
"service.beta.kubernetes.io/aws-load-balancer-scheme" = "internet-facing"
"service.beta.kubernetes.io/aws-load-balancer-attributes" = "load_balancing.cross_zone.enabled=true"
"service.beta.kubernetes.io/aws-load-balancer-type" = "external"
"service.beta.kubernetes.io/aws-load-balancer-nlb-target-type" = "ip"
"service.beta.kubernetes.io/aws-load-balancer-scheme" = "internet-facing"
"service.beta.kubernetes.io/aws-load-balancer-attributes" = "load_balancing.cross_zone.enabled=true"
}
}
}
Expand Down

0 comments on commit 06fd114

Please sign in to comment.