forked from aws-ia/terraform-aws-eks-blueprints
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new examples to demonstrate inter/cross cluster connectivity using aw…
…s vpc lattice network
- Loading branch information
1 parent
cb22c17
commit 2c5b9ab
Showing
35 changed files
with
430 additions
and
15,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
patterns/blueprint-vpc-lattice/cluster1/gateway-lattice.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: GatewayClass | ||
metadata: | ||
name: amazon-vpc-lattice | ||
spec: | ||
controllerName: application-networking.k8s.aws/gateway-api-controller |
17 changes: 17 additions & 0 deletions
17
patterns/blueprint-vpc-lattice/cluster1/inventory-route-bluegreen.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: HTTPRoute | ||
metadata: | ||
name: inventory | ||
spec: | ||
parentRefs: | ||
- name: my-hotel | ||
sectionName: http | ||
rules: | ||
- backendRefs: | ||
- name: inventory-ver1 | ||
kind: Service | ||
port: 80 | ||
weight: 10 | ||
- name: inventory-ver2 | ||
kind: ServiceImport | ||
weight: 90 |
14 changes: 14 additions & 0 deletions
14
patterns/blueprint-vpc-lattice/cluster1/inventory-route.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: HTTPRoute | ||
metadata: | ||
name: inventory | ||
spec: | ||
parentRefs: | ||
- name: my-hotel | ||
sectionName: http | ||
rules: | ||
- backendRefs: | ||
- name: inventory-ver1 | ||
kind: Service | ||
port: 80 | ||
weight: 10 |
36 changes: 36 additions & 0 deletions
36
patterns/blueprint-vpc-lattice/cluster1/inventory-ver1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: inventory-ver1 | ||
labels: | ||
app: inventory-ver1 | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
app: inventory-ver1 | ||
template: | ||
metadata: | ||
labels: | ||
app: inventory-ver1 | ||
spec: | ||
containers: | ||
- name: inventory-ver1 | ||
image: public.ecr.aws/x2j8p8w7/http-server:latest | ||
env: | ||
- name: PodName | ||
value: "Inventory-ver1 handler pod" | ||
|
||
|
||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: inventory-ver1 | ||
spec: | ||
selector: | ||
app: inventory-ver1 | ||
ports: | ||
- protocol: TCP | ||
port: 80 | ||
targetPort: 8090 |
Oops, something went wrong.