From daa7834149a08f8dc6ca42460376d9012e81f6df Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Wed, 1 Jun 2022 10:26:26 +0300 Subject: [PATCH] Enable Linkerd inject Signed-off-by: Stefan Prodan --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 706c9a5..6da2a5e 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,19 @@ The microservices demo is composed of 20 Kubernetes Deployments with a total request of `200m` CPU and `320Mi` memory. Each microservice is managed by a dedicated Flux Kustomization, and it contains a podinfo instance and a redis instance. The microservices are configured to -scale to a maximum of `2` pods, using CPU-based horizontal pod autoscalers. +scale up to `2` pods each, using CPU-based horizontal pod autoscalers. ![](docs/img/linkerd-msdemo.png) The microservices demo comes with a client app that generates HTTP/S traffic between microservices at a total rate of `30` requests/second. -Each microservice writes data in their dedicated Redis instance every `30s` +Each microservice writes data in their dedicated Redis instance every `30s`. ## Prerequisites * A Kubernetes cluster [bootstrapped with Flux](https://fluxcd.io/docs/installation/). * Weave GitOps UI [HelmRelease deployed on the cluster](https://docs.gitops.weave.works/docs/getting-started/). +* Linkerd [HelmRelease deployed on the cluster](https://github.com/stefanprodan/gitops-linkerd/tree/main/infrastructure/linkerd) (optionally). ## Deploy microservices @@ -34,6 +35,9 @@ apiVersion: v1 kind: Namespace metadata: name: msdemo + annotations: + config.linkerd.io/proxy-await: enabled + linkerd.io/inject: enabled --- apiVersion: v1 kind: ServiceAccount