github.com/pachyderm/pachyderm@v1.13.4/etc/deploy/tracing/start_port_forward.sh (about)

     1  #!/bin/bash
     2  
     3  # Re-establish port-forward to jaeger
     4  jaeger_pod="$(kubectl get po -l app=jaeger -o jsonpath='{.items[].metadata.name}')"
     5  nohup kubectl port-forward "po/${jaeger_pod}" 16686 &  # UI port
     6  nohup kubectl port-forward "po/${jaeger_pod}" 14268 &  # Collector port
     7  nohup kubectl port-forward "po/etcd-0" 2379 & # etcd port-forward
     8  
     9  cat <<EOF
    10  #####################
    11  # Connect pachctl to Jaeger with:
    12  export JAEGER_ENDPOINT=localhost:14268
    13  #####################
    14  EOF
    15