Skip to content

Commit

Permalink
Add the Slack notifications to App Mesh tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Mar 23, 2019
1 parent 685d94c commit a8ea9ad
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/gitbook/usage/appmesh-progressive-delivery.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# App Mesh Canary Deployments

This guide shows you how to use App Mesh and Flagger to automate canary deployments.
This guide shows you how to use App Mesh and Flagger to automate canary deployments.
You'll need an EKS cluster configured with App Mesh, you can find the install guide
[here](https://docs.flagger.app/install/flagger-install-on-eks-appmesh).

### Bootstrap

Expand Down Expand Up @@ -31,7 +33,7 @@ Deploy the load testing service to generate traffic during the canary analysis:
helm upgrade -i flagger-loadtester flagger/loadtester \
--namespace=test \
--set meshName=global.appmesh-system \
--set backends[0]=frontend.test
--set backends[0]=podinfo.test
```

Create a canary custom resource:
Expand Down Expand Up @@ -196,6 +198,10 @@ prod frontend Succeeded 0 2019-03-15T16:15:07Z
prod backend Failed 0 2019-03-14T17:05:07Z
```

If you’ve enabled the Slack notifications, you should receive the following messages:

![flagger-slack](https://github.com/raw/weaveworks/flagger/master/docs/screens/slack-canary-notifications.png)

### Automated rollback

During the canary analysis you can generate HTTP 500 errors to test if Flagger pauses the rollout.
Expand Down Expand Up @@ -245,3 +251,8 @@ Events:
Warning Synced 1m flagger Canary failed! Scaling down podinfo.test
```

If you’ve enabled the Slack notifications, you’ll receive a message if the progress deadline is exceeded,
or if the analysis reached the maximum number of failed checks:

![flagger-slack-errors](https://github.com/raw/weaveworks/flagger/master/docs/screens/slack-canary-failed.png)

0 comments on commit a8ea9ad

Please sign in to comment.