-
Notifications
You must be signed in to change notification settings - Fork 71
Description
When creating multiple http route configs in different clusters with the same name that are part of the same VPC Lattice service network, Lattice seems to fail to route requests. Further more if you delete one of the http route configs from one the clusters but leave the other, it removes the service completely from the service network although the other route still exists.
Not sure if running the same service in different clusters is an actual use case that VPC Lattice supports but even if not feel it should handle it somehow more elegantly rather then fail to route traffic.
Steps to reproduce.
- in the same account, same region, create two EKS clusters in different VPCs with VPC Lattice Gateway Controller configured.
- In cluster 1 deploy:
- examples/inventory-ver1.yaml
- examples/inventory-ver2.yaml
- examples/my-hotel-gateway-multi-listeners.yaml
- examples/inventory-route-bluegreen-https.yaml
- Verify inventory service has been created in VPC Lattice and thats possible to make requests to it.
- In cluster 2 deploy:
- examples/inventory-ver1.yaml
- examples/inventory-ver2.yaml
- examples/my-hotel-gateway-multi-listeners.yaml
- examples/inventory-route-bluegreen-https.yaml
- Verify is no longer possible to make requests to inventory service through the Lattice service DNS name.
EXPECTED:
5a. You could call inventory services and would load-balance requests across clusters
- In Cluster 2 remove examples/inventory-route-bluegreen-https.yaml
- Verify that service in VPC Lattice has been deleted
EXPECTED:
7a. Inventory VPC Lattice service still configured and can route requests to targets in cluster 1.
Environment:
Controller Image: public.ecr.aws/m7r9p7b3/aws-gateway-controller:v0.0.17
EKS Version: v1.27.6-eks-f8587cb
