Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
frankbu committed May 4, 2017
1 parent 64aca89 commit 4369927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demos/apps/sleep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Now you can `kubectl exec` into the sleep service to experiment with Istio.
For example, the following commands can be used to call the Bookinfo `ratings` service:

```
$ export SLEEP_POD=$(kubectl describe pod sleep- | awk '$1 == "Name:"{print $2}')
$ kubectl exec -it $SLEEP_POD -c sleep curl http://ratings.default.svc.cluster.local:9080/ratings
$ export SLEEP_POD=$(kubectl get pod -l app=sleep -o jsonpath={.items..metadata.name})
kubectl exec -it $SLEEP_POD -c sleep curl http://ratings.default.svc.cluster.local:9080/ratings
{"Reviewer1":5,"Reviewer2":4}
$
```
2 changes: 0 additions & 2 deletions demos/apps/sleep/sleep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ spec:
image: tutum/curl
command: ["/bin/sleep","infinity"]
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
---

0 comments on commit 4369927

Please sign in to comment.