From 3103bde7f7db9c28b1e5713eb90c96c7181b5082 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Sat, 5 Oct 2019 11:52:41 +0300 Subject: [PATCH] Use the App Mesh Prometheus chart in docs --- .../install/flagger-install-on-eks-appmesh.md | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/gitbook/install/flagger-install-on-eks-appmesh.md b/docs/gitbook/install/flagger-install-on-eks-appmesh.md index c2326a99..a23f90fc 100644 --- a/docs/gitbook/install/flagger-install-on-eks-appmesh.md +++ b/docs/gitbook/install/flagger-install-on-eks-appmesh.md @@ -17,8 +17,7 @@ The App Mesh integration with EKS is made out of the following components: ### Create a Kubernetes cluster In order to create an EKS cluster you can use [eksctl](https://eksctl.io). -Eksctl is an open source command-line utility made by Weaveworks in collaboration with Amazon, -it’s a Kubernetes-native tool written in Go. +Eksctl is an open source command-line utility made by Weaveworks in collaboration with Amazon. On MacOS you can install eksctl with Homebrew: @@ -137,7 +136,17 @@ Status: Type: MeshActive ``` -### Install Flagger, Prometheus and Grafana +In order to collect the App Mesh metrics that Flagger needs to run the canary analysis, +you'll need to setup a Prometheus instance to scrape the Envoy sidecars. + +Install the App Mesh Prometheus: + +```sh +helm upgrade -i appmesh-prometheus eks/appmesh-prometheus \ +--wait --namespace appmesh-system +``` + +### Install Flagger and Grafana Add Flagger Helm repository: @@ -151,20 +160,17 @@ Install Flagger's Canary CRD: kubectl apply -f https://raw.githubusercontent.com/weaveworks/flagger/master/artifacts/flagger/crd.yaml ``` -Deploy Flagger and Prometheus in the _**appmesh-system**_ namespace: +Deploy Flagger in the _**appmesh-system**_ namespace: ```bash helm upgrade -i flagger flagger/flagger \ --namespace=appmesh-system \ --set crd.create=false \ --set meshProvider=appmesh \ ---set prometheus.install=true +--set metricsServer=appmesh-prometheus:9090 ``` -In order to collect the App Mesh metrics that Flagger needs to run the canary analysis, -you'll need to setup a Prometheus instance to scrape the Envoy sidecars. - -You can enable **Slack** notifications with: +You can enable Slack or MS Teams notifications with: ```bash helm upgrade -i flagger flagger/flagger \ @@ -181,7 +187,7 @@ Deploy Grafana in the _**appmesh-system**_ namespace: ```bash helm upgrade -i flagger-grafana flagger/grafana \ --namespace=appmesh-system \ ---set url=http://flagger-prometheus.appmesh-system:9090 +--set url=http://appmesh-prometheus:9090 ``` You can access Grafana using port forwarding: