Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
fix missing WEBPORTAL_URL issue when installing services (#5538)
Browse files Browse the repository at this point in the history
[issue comment](#5445 (comment))
  • Loading branch information
siaimes authored Aug 9, 2021
1 parent 4eef17e commit e5aef0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/kubespray/script/service-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ echo "Starting OpenPAI service with dev-box..."
sudo docker exec -w /mnt/pai dev-box-quick-start /bin/bash ./contrib/kubespray/script/start-service-in-dev-box.sh

# print cluster info
WEBPORTAL_URL=http:$(kubectl config view -o jsonpath='{.clusters[].cluster.server}' | cut -d ":" -f 2)
WEBPORTAL_URL=http:$(sudo docker exec dev-box-quick-start kubectl config view -o jsonpath='{.clusters[].cluster.server}' | cut -d ":" -f 2)
echo ""
echo "OpenPAI is successfully deployed, please check the following information:"
echo "Kubernetes cluster config : ~/pai-deploy/kube/config"
Expand Down

0 comments on commit e5aef0d

Please sign in to comment.