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

Conversation

hzy46
Copy link
Contributor

@hzy46 hzy46 commented Mar 9, 2020

No description provided.

@hzy46 hzy46 requested a review from ydye March 9, 2020 08:28
@hzy46 hzy46 mentioned this pull request Mar 9, 2020
74 tasks
echo "Default username : admin"
echo "Default password : admin-password"
echo ""
echo "You can go to http://<your-master-ip>, then use the default username and password to log in."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can get the server address by kubectl config view -o jsonpath='{.clusters[].cluster.server}'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. I changed this to:

WEBPORTAL_URL=http:$(kubectl config view -o jsonpath='{.clusters[].cluster.server}' | cut -d ":" -f 2)
echo "You can go to ${WEBPORTAL_URL}, then use the default username and password to log in."

@hzy46 hzy46 merged commit ebcf558 into master Mar 11, 2020
@hzy46 hzy46 mentioned this pull request Apr 27, 2020
@hzy46 hzy46 deleted the zhiyuhe/echo_info branch July 17, 2020 02:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants