# Setup advanced monitoring

Elevate your cluster monitoring capabilities with our advanced setup! Connect to the cluster and effortlessly deploy the Kubernetes dashboard using a single command. Explore the provided link for further insights into enhancing your monitoring experience. Stay in control and gain valuable insights into your Kubernetes environment with ease.

1. Connect to the cluster.

{% content-ref url="/pages/JQ1nWHGwooRp7HwPXLcM" %}
[Connect to a cluster](/enclaive-multi-cloud-platform/tutorials/dyneemes/connect-to-a-cluster.md)
{% endcontent-ref %}

2. Deploy the Kubernetes dashboard with the following command.

```
$ kubectl --kubeconfig=k8s-development-1_kubeconfig.txt apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml
namespace/kubernetes-dashboard created
serviceaccount/kubernetes-dashboard created
service/kubernetes-dashboard created
secret/kubernetes-dashboard-certs created
secret/kubernetes-dashboard-csrf created
secret/kubernetes-dashboard-key-holder created
configmap/kubernetes-dashboard-settings created
role.rbac.authorization.k8s.io/kubernetes-dashboard created
clusterrole.rbac.authorization.k8s.io/kubernetes-dashboard created
rolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created
clusterrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard created
deployment.apps/kubernetes-dashboard created
service/dashboard-metrics-scraper created
deployment.apps/dashboard-metrics-scraper created
$ kubectl --kubeconfig=k8s-development-1_kubeconfig.txt proxy
Starting to serve on 127.0.0.1:8001
```

If you want to learn more, check: <https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-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://docs.enclaive.cloud/enclaive-multi-cloud-platform/tutorials/dyneemes/setup-advanced-monitoring.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.
