updated kubectl_port_forward_spark.sh

pull/16/head
Hari Sekhon 3 weeks ago
parent b294c8764f
commit 8e27850f1f

@ -81,9 +81,12 @@ fi
timestamp "Launching port forwarding to pod '$spark_driver_pod' port '$spark_port'"
kubectl port-forward --address 127.0.0.1 ${namespace:+-n "$namespace"} "$spark_driver_pod" "$spark_port":"$spark_port" &
echo
url="http://localhost:$spark_port"
timestamp "Spark UI is now available at: $url"
if is_mac; then
echo
timestamp "Opening URL: http://localhost:$spark_port"
open "http://localhost:$spark_port"
timestamp "Opening URL: $url"
open "$url"
fi

Loading…
Cancel
Save