# Kubernetes Dashboard UI Kurulumu Nasıl Yapılır?

Bu yazımızda; Kubernetes Community tarafından geliştirilmiş, varsayılan olarak kurulu gelmeyen Kubernetes Dashboard UI Kurulumunun nasıl yapılacağını tecrübe edeceğiz.&#x20;

Kubernetes Dashboard, Kubernetes cluster'ınız içerisinde uygulamalarınızı yönetebileceğiniz ve monitör edebileceğiniz web tabanlı bir uygulamadır.

### Dashboard Yaml Dosyasının Deploy Edilmesi

```
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta6/aio/deploy/recommended.yaml
```

![Dashboard UI Yaml Dosyasının Deploy Edilmesi](/files/-LuitGgEyJoQda5b1AwY)

### Dashboard'a Giriş İçin Token Oluşturulması

```
kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep admin-user | awk '{print $1}')
```

![Admin Girişi İçin Token Oluşturulması](/files/-LuitR-YAvwUn6POxDvi)

Type: kubernetes.io/service-account-token

alanında yer alan token ile başlayan hash kodu herhangi bir text editör üzerine kopyalayın. Sonrasında ihtiyacımız olacak.

### Dashboard Admin Sayfasına Erişim

```
kubectl proxy
```

Proxy oluşturduktan sonra aşağıdaki linki browser üzerinde açtığınızda dashboard admin sayfası karşınıza gelecektir.

Kopyaladığınız token değerini burada aşağıdaki gibi kullanabilirsiniz.

{% embed url="<http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/>" %}

![](/files/-Luiud7VFaLDr793pNKy)

![](/files/-Luiv25zY3Ma2NFQ8Prm)

Kaynaklar:

<https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/>

<https://github.com/kubernetes/dashboard>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://post.cagdaskarademir.com/post-2019/kubernetes-dashboard-ui-kurulumu-nasil-yapilir.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
