Skip to content

Commit

Permalink
Move up kubernetes section in hotrod example README
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon High <highb@users.noreply.github.com>
  • Loading branch information
highb committed Apr 26, 2022
1 parent 243a073 commit 0533037
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions examples/hotrod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ to view the traces. A tutorial / walkthrough is available:

Alternatively, you can run each component separately as described below.

### Run HotROD/Jaeger all-in-one from kubernetes

```bash
kustomize build ./kubernetes | kubectl apply -f -
kubectl port-forward -n example-hotrod service/example-hotrod 8080:frontend
# In another terminal
kubectl port-forward -n example-hotrod service/jaeger 16686:frontend
```

Then open <http://127.0.0.1:8080>

### Run Jaeger backend

An all-in-one Jaeger backend is packaged as a Docker container with in-memory storage.
Expand Down Expand Up @@ -65,17 +76,6 @@ docker run \

Then open http://127.0.0.1:8080

### Run HotROD/Jaeger all-in-one from kubernetes

```bash
kustomize build ./kubernetes | kubectl apply -f -
kubectl port-forward -n example-hotrod service/example-hotrod 8080:frontend
# In another terminal
kubectl port-forward -n example-hotrod service/jaeger 16686:frontend
```

Then open http://127.0.0.1:8080

## Metrics

The app exposes metrics in either Go's `expvar` format (by default) or in Prometheus format (enabled via `-m prometheus` flag).
Expand Down

0 comments on commit 0533037

Please sign in to comment.