> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document). # Kubernetes Dashboard Generated on 12 Apr 2024 from [the Kubernetes Dashboard catalog page](https://marketplace.digitalocean.com/apps/kubernetes-dashboard) This 1-click allows you to easily install the [Kubernetes Dashboard](https://github.com/kubernetes/dashboard) Helm chart on your DigitalOcean Kubernetes cluster. The Kubernetes Dashboard offers a user-friendly, web-based interface for managing and monitoring your Kubernetes cluster. It allows you to: - Visualize your cluster resources, including pods, deployments, services, and nodes. - Debug applications by viewing logs and resource metrics. - Manage deployments, rolling updates, and service configuration. - Gain insights into cluster health and performance. ## Software Included *This Marketplace listing does not include a detailed software list.* ## Creating an App using the Control Panel Click the **Deploy to DigitalOcean** button to install a Kubernetes 1-Click Application. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account. [![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/kubernetes/clusters/new?addonslug=kubernetes-dashboard&nodePools=s-1vcpu-2gb%3A3) ## Creating an App using the API In addition to creating Kubernetes Dashboard using the control panel, you can also use the [DigitalOcean API](https://docs.digitalocean.com/reference/api). As an example, to create a 3 node DigitalOcean Kubernetes cluster made up of Basic Droplets in the SFO2 region, you can use the following `doctl` command. You need to authenticate with `doctl` with your [API access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and replace the `$CLUSTER_NAME` variable with the chosen name for your cluster in the command below. ```shell doctl kubernetes clusters create --size s-4vcpu-8gb $CLUSTER_NAME --1-clicks kubernetes-dashboard ``` ## Getting Started After Deploying Kubernetes Dashboard ## Getting Started Once the 1-click deployment is complete, you can access the dashboard from your local machine by port-forwarding as follows. 1. [**Create a Service Account**](https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md): This is needed for authenticating into the dashboard. You’ll need to generate a token for this account. 2. [**Port-forward the Kubernetes Dashboard**](https://github.com/kubernetes/dashboard/blob/master/docs/user/accessing-dashboard/README.md) to your local machine: ``` kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 ``` 3. **Log In to Dashboard**: Access the URL in your local web browser at `https://127.0.0.1:8443/`, and log in using the token you generated for your service account. You may encounter a certificate warning, so make sure to override it. 4. **Explore and Manage**: You’ll now have access to the Kubernetes Dashboard’s intuitive interface. From here, you can explore your cluster’s resources, view pod details, manage deployments, and monitor the health of your cluster. **Please Note:** - Ensure that your DigitalOcean Kubernetes cluster is running and accessible before deploying the Kubernetes Dashboard. - If you encounter any issues or have specific configuration requirements, refer to the documentation provided with the Kubernetes Dashboard 1-click for additional guidance. - Kubernetes dashboard is a helm chart. Link to [values.yaml](https://github.com/kubernetes/dashboard/tree/master/charts/helm-chart/kubernetes-dashboard). You can customize like you would do any helm chart.