Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #398 from ibm-developer/better-kube-app-link
Browse files Browse the repository at this point in the history
fix: make link more likely to hit a working endpoint in running kube app
  • Loading branch information
Christian Compton authored Oct 25, 2018
2 parents 4e4619d + 9c205c5 commit 727d60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/deployment/templates/kube_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ helm history ${RELEASE_NAME}
echo "=========================================================="
IP_ADDR=$(bx cs workers ${PIPELINE_KUBERNETES_CLUSTER_NAME} | grep normal | head -n 1 | awk '{ print $2 }')
PORT=$(kubectl get services --namespace ${CLUSTER_NAMESPACE} | grep ${RELEASE_NAME} | sed 's/[^:]*:\([0-9]*\).*/\1/g')
echo -e "View the application at: http://${IP_ADDR}:${PORT}"
echo -e "View the application health at: http://${IP_ADDR}:${PORT}/health"

0 comments on commit 727d60e

Please sign in to comment.