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

[Kubespray] Inform user of pai cluster id, configuration, username, password #4267

Merged
merged 2 commits into from
Mar 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions contrib/kubespray/script/service-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,14 @@ if [ $? -eq 0 ]; then
exit 1
else
cleanup
WEBPORTAL_URL=http:$(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"
echo "OpenPAI cluster config : ~/pai-deploy/kube/config"
echo "OpenPAI cluster ID : pai"
echo "Default username : admin"
echo "Default password : admin-password"
echo ""
echo "You can go to ${WEBPORTAL_URL}, then use the default username and password to log in."
fi