diff --git a/examples/hotrod/README.md b/examples/hotrod/README.md index a773e1c87969..c048b5618213 100644 --- a/examples/hotrod/README.md +++ b/examples/hotrod/README.md @@ -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 + ### Run Jaeger backend An all-in-one Jaeger backend is packaged as a Docker container with in-memory storage. @@ -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).