From d947fc5b2ca5e10f1c376d6248f9f152f30f275d Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 14 Sep 2018 16:49:41 +0300 Subject: [PATCH] Add OpenFaaS Istio port-forward commands --- docs/8-istio-openfaas.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/8-istio-openfaas.md b/docs/8-istio-openfaas.md index ec387b5..013669b 100644 --- a/docs/8-istio-openfaas.md +++ b/docs/8-istio-openfaas.md @@ -141,7 +141,7 @@ kubectl create secret generic cert-manager-credentials \ --namespace=istio-system ``` -Create a letsencrypt issuer for CloudDNS (replace `email@example.com` with a valid email address): +Create a letsencrypt issuer for CloudDNS (replace `email@example.com` with a valid email address and `my-gcp-project` with your project ID): ```yaml apiVersion: certmanager.k8s.io/v1alpha1 @@ -553,7 +553,13 @@ HOSTNAME=env-59bf48fb9d-cjsjw HOSTNAME=env-canary-5dffdf4458-4vnn2 ``` -Tracing the general available release with Jaeger: +Access Jaeger dashboard using port forwarding: + +```bash +kubectl -n istio-system port-forward deployment/istio-tracing 16686:16686 +``` + +Tracing the general available release: ![ga-trace](https://github.com/stefanprodan/k8s-podinfo/blob/master/docs/screens/openfaas-istio-ga-trace.png) @@ -561,7 +567,13 @@ Tracing the canary release: ![canary-trace](https://github.com/stefanprodan/k8s-podinfo/blob/master/docs/screens/openfaas-istio-canary-trace.png) -Monitor ga vs canary success rate and latency with Prometheus and Grafana: +Access Grafana using port forwarding: + +```bash +kubectl -n istio-system port-forward deployment/grafana 3000:3000 +``` + +Monitor ga vs canary success rate and latency: ![canary-prom](https://github.com/stefanprodan/k8s-podinfo/blob/master/docs/screens/openfaas-istio-canary-prom.png)