Skip to content

Commit a478f47

Browse files
author
Gary A. Stafford
committed
Update README
1 parent ca57185 commit a478f47

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,21 +211,21 @@ istioctl get all
211211
# https://github.com/rakyll/hey
212212
hey -n 500 -c 10 -h2 http://api.dev.example-api.com
213213
```
214+
214215
## Access Tools Example
215216

216217
```bash
217218
# Jaeger
218219
kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=jaeger -o jsonpath='{.items[0].metadata.name}') 16686:16686 &
219220

220221
# Grafana
221-
gcloud container clusters get-credentials go-srv-demo-cluster --region us-central1 --project go-srv-demo \
222-
&& kubectl port-forward --namespace istio-system $(kubectl get pod --namespace istio-system --selector="app=grafana" --output jsonpath='{.items[0].metadata.name}') 3000:3000
222+
kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=grafana -o jsonpath='{.items[0].metadata.name}') 3000:3000 &
223223

224-
#Prometheus
225-
$ kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=prometheus -o jsonpath='{.items[0].metadata.name}') 9090:9090 &
224+
# Prometheus
225+
kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=prometheus -o jsonpath='{.items[0].metadata.name}') 9090:9090 &
226226

227-
gcloud container clusters get-credentials go-srv-demo-cluster --region us-central1 --project go-srv-demo \
228-
&& kubectl port-forward --namespace istio-system $(kubectl get pod --namespace istio-system --selector="app=prometheus" --output jsonpath='{.items[0].metadata.name}') 9090:9090
227+
# Kiali
228+
kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001 &
229229
```
230230

231231
Prometheus Query Examples

stack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ services:
88
ports:
99
- 80:80
1010
service-a:
11-
image: garystafford/go-srv-a:1.3.0
11+
image: garystafford/go-srv-a:1.4.0
1212
networks:
1313
- golang-demo
1414
ports:
1515
- 8000:80
1616
service-b:
17-
image: garystafford/go-srv-b:1.3.0
17+
image: garystafford/go-srv-b:1.4.0
1818
networks:
1919
- golang-demo
2020
service-c:
@@ -30,7 +30,7 @@ services:
3030
environment:
3131
RABBITMQ_CONN: 'amqp://guest:guest@rabbitmq:5672/'
3232
service-e:
33-
image: garystafford/go-srv-e:1.3.0
33+
image: garystafford/go-srv-e:1.4.0
3434
networks:
3535
- golang-demo
3636
service-f:

0 commit comments

Comments
 (0)