Add App Mesh backend example

This commit is contained in:
stefanprodan 2019-03-24 13:11:03 +02:00
parent 8a981f935a
commit 191228633b
1 changed files with 17 additions and 0 deletions

View File

@ -63,6 +63,9 @@ spec:
port: 9898
# App Mesh reference
meshName: global.appmesh-system
# App Mesh egress (optional)
backends:
- backend.test
# define the canary analysis timing and KPIs
canaryAnalysis:
# schedule interval (default 60s)
@ -119,6 +122,20 @@ virtualnode.appmesh.k8s.aws/podinfo-primary
virtualservice.appmesh.k8s.aws/podinfo.test
```
The App Mesh specific settings are:
```yaml
service:
port: 9898
meshName: global.appmesh-system
backends:
- backend1.test
- backend2.test
```
App Mesh blocks all egress traffic by default. If your application needs to call another service, you have to create an
App Mesh virtual service for it and add the virtual service name to the backend list.
### Setup App Mesh ingress
In order to expose the podinfo app outside the mesh you'll be using an Envoy ingress and an AWS classic load balancer.