문제 설명
GCP를 통한 Kubernetes 대시보드 (Kubernetes dashboard via GCP)
귀찮게 해서 죄송합니다. 하지만 온라인 DevOps 학습에 심각한 문제가 있습니다. 사실 저는 Devops 과정을 수강하고 있으며 Google 클라우드 플랫폼을 클라우드로 사용하고 있습니다. gcloud container clusters create xxx를 사용하여 클러스터를 만든 다음 gcloud container clusters describe xxx와 같은 describe 명령을 수행하면 작동하지만 Kubernetes에 대한 로그인 및 비밀번호에 대한 정보가 없습니다. 그것이 문제 중 하나입니다.
클러스터를 생성한 후 kubectl cluster‑info 명령으로 Kubernetes 대시보드 링크를 얻지 못했습니다. 일반적으로 내 앱을 관리하려면 Kubernetes 대시보드가 있어야 합니다. Kubernetes 대시보드 대신 Kubernetes 시스템 메트릭이라는 것이 있습니다.
GCP 연습에 익숙한 사람이 이 문제를 해결하는 데 도움을 줄 수 있습니까?
참조 솔루션
방법 1:
Can you please go through this Google Cloud Kubernetes dashboards docs[1]?
Because, I'm able to see Kubernetes dashboard in my console. But, I don't know why you are not able to see that, and I also checked there is now any service outage on Kubernetes from Google Cloud Status Dashboard[2]. But, It's working fine. So, kindly go through that Kubernetes docs, from that you will get some better understanding of working with Kubernetes in GCP.
If you're still facing any issue or abnormal behavior, please go to public issue tracker[3] or support from GCP console and raise a ticket.
[1]. https://cloud.google.com/kubernetes‑engine/docs/concepts/dashboards
[2]. https://status.cloud.google.com/
[3]. https://cloud.google.com/support/docs/issue‑trackers#trackers‑list
방법 2:
When you visit the GCP dashboard docs, you should see red warning on top of the website, saying:
Warning: The open source Kubernetes Dashboard addon is deprecated for clusters on GKE and will be removed as an option in version 1.15. As an alternative, use the Cloud Console dashboards described in this guide.
Below you read:
Starting with GKE v1.15, you will no longer be able to enable the Kubernetes Dashboard by using the add‑on API. You will still be able to install Kubernetes Dashboard manually by following the instructions in the project's repository. For clusters in which you have already deployed the add‑on, it will continue to function but you will need to manually apply any updates and security patches that are released.
To deploy it, follow the instructions on k8s dashboard github repo