... | ... | @@ -8,26 +8,7 @@ The purpose of this project is to test various solutions for monitoring of Kuber |
|
|
|
|
|
## Monitoring solutions
|
|
|
- [Prometheus](Prometheus)
|
|
|
|
|
|
|
|
|
|
|
|
## Kubernetes Dashboard
|
|
|
[Dashboard](https://github.com/kubernetes/dashboard) is a web based UI for displaying as well as managing k8s clusters.It can be used to get an overview of what apps are running on our cluster, but also for creating and configuring existing k8s resources(Deployment, Services)
|
|
|
|
|
|
#### Installation
|
|
|
Using the official [guide](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/), all we have to do to deploy the dashboard is
|
|
|
```bash
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml
|
|
|
```
|
|
|
this will create all the necessary resource in the `kubernetes-dashboard` namespace.
|
|
|
#### Accessing the UI
|
|
|
Dashboard requires a Bearer-token to access it for security reasons. To generate the token, we need to create a SeviceAccount and bind it to a cluster-admin role, which will give it privileges to generate the token. Detailed guide is available [here](https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md). We then need to use the command ```kubectl proxy``` which exposes the k8s API on port 8001 by default. After that, dashboard will be available at http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/.
|
|
|
|
|
|
#### Preview
|
|
|
![image](uploads/1c0c8d9b4ee98081d94f77388ac7eaab/image.png)
|
|
|
*Cluster overview*
|
|
|
![image](uploads/bb29daae555b527448b9666167b061ee/image.png)
|
|
|
*Minikube node*
|
|
|
- [Kubernetes Dashboard](Kubernetes-Dashboard)
|
|
|
|
|
|
## Jaeger
|
|
|
|
... | ... | |