Skip to content

Commit

Permalink
Add OpenFaaS Istio port-forward commands
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Sep 14, 2018
1 parent dc6d641 commit d947fc5
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions docs/8-istio-openfaas.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -553,15 +553,27 @@ 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)

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)

0 comments on commit d947fc5

Please sign in to comment.