我正在使用 Kubernetes 教程并使用 Vagrant 在本地部署集群。
流浪机器完成加载后,我得到以下输出:
Kubernetes cluster is running. The master is running at: https://10.245.1.2 Administer and visualize its resources using Cockpit: https://10.245.1.2:9090 For more information on Cockpit, visit http://cockpit-project.org The user name and password to use is located in /Users/me/.kube/config
当我去https://10.245.1.2:9090
我看到登录fedora屏幕。我执行以下操作:
./cluster/kubectl.sh config view apiVersion: v1 clusters: - cluster: certificate-authority-data: REDACTED server: https://10.245.1.2 name: vagrant contexts: - context: cluster: vagrant user: vagrant name: vagrant current-context: vagrant kind: Config preferences: {} users: - name: vagrant user: client-certificate-data: REDACTED client-key-data: REDACTED password: 9r5V2B2wn6oeaciX username: admin
但用户名和密码不正确。
我应该如何连接到驾驶舱?
谢谢