Skip to content

Commit

Permalink
Re-run pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Widmer committed Jan 16, 2024
1 parent 6486035 commit 90deace
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions patterns/vpc-lattice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This pattern demonstrates how to expose an EKS cluster hosted application to an

## Scenario

With this soluton we showcase how to configure Amazon VPC Lattice using the AWS Gateway API Controller in order to manage Amazon VPC Lattice resources through native K8S Gateway API objects. This pattern deploys two distinct VPCs with a client application running in one of them and a server application in the other. The server application is deployed inside an EKS cluster and made exposed to the client application through Amazon VPC Lattice which establishes connectivity between the two applications. Further we demonstrate how to configure a custom domain name for the exposed service using Amazon Route53.
With this soluton we showcase how to configure Amazon VPC Lattice using the AWS Gateway API Controller in order to manage Amazon VPC Lattice resources through native K8S Gateway API objects. This pattern deploys two distinct VPCs with a client application running in one of them and a server application in the other. The server application is deployed inside an EKS cluster and made exposed to the client application through Amazon VPC Lattice which establishes connectivity between the two applications. Further we demonstrate how to configure a custom domain name for the exposed service using Amazon Route53.

![diagram](assets/diagram.png)

Expand Down Expand Up @@ -39,4 +39,4 @@ In order to test the connectivty between the client and server, please follow th

{%
include-markdown "../../docs/_partials/destroy.md"
%}
%}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
image: public.ecr.aws/x2j8p8w7/http-server:latest
env:
- name: PodName
value: "server pod"
value: "server pod"
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: GatewayClass
metadata:
name: amazon-vpc-lattice
spec:
controllerName: application-networking.k8s.aws/gateway-api-controller
controllerName: application-networking.k8s.aws/gateway-api-controller
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
listeners:
- name: http
protocol: HTTP
port: 80
port: 80
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
matches:
- path:
type: PathPrefix
value: /
value: /
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
ports:
- protocol: TCP
port: 8090
targetPort: 8090
targetPort: 8090
2 changes: 1 addition & 1 deletion patterns/vpc-lattice/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,4 @@ module "endpoint_sg" {
]

tags = local.tags
}
}
2 changes: 1 addition & 1 deletion patterns/vpc-lattice/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "configure_kubectl" {
description = "Configure kubectl: make sure you're logged in with the correct AWS profile and run the following command to update your kubeconfig"
value = "aws eks update-kubeconfig --name ${module.eks.cluster_name} --alias ${module.eks.cluster_name} --region ${local.region}"
}
}

0 comments on commit 90deace

Please sign in to comment.