Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #21 from andrebriggs/master
Browse files Browse the repository at this point in the history
Fixed issue with retrieving jaeger pod name
  • Loading branch information
timfpark authored Jan 10, 2019
2 parents 3b3b7c2 + 9dadef4 commit 2dec180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/jaeger
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export JAEGER_POD=$(kubectl get pods -l "jaeger-component=query" -o jsonpath="{.items[0].metadata.name}")
export JAEGER_POD=$(kubectl get pods -n jaeger -o jsonpath="{range .items[*]}{.metadata.name}{'\n'}" | grep jaeger-query)
`sleep 1 && open http://localhost:16686/` &
kubectl port-forward $JAEGER_POD 16686
kubectl port-forward -n jaeger $JAEGER_POD 16686

0 comments on commit 2dec180

Please sign in to comment.