Kubernetes Dashboard

This 1-click allows you to easily install the 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.

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

Creating an App using the API

In addition to creating Kubernetes Dashboard using the control panel, you can also use the DigitalOcean 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) and replace the $CLUSTER_NAME variable with the chosen name for your cluster in the command below.

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. Download the kubeconfig: This is needed for authenticating into dashboard. It can be downloaded from the DigitalOcean Kubernetes cloud console for your cluster. You need to choose “manual authentication” and then you can see the option to download the config file.
  2. Port-forward the Kubernetes Dashboard to your local machine:
export POD_NAME=$(kubectl get pods -n kubernetes-dashboard -l "app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/instance=kubernetes-dashboard" -o jsonpath="{.items[0].metadata.name}")
   kubectl -n kubernetes-dashboard port-forward $POD_NAME 8443:8443
  1. Log In to Dashboard: Access the URL in your local web browser at https://127.0.0.1:8443/, and log in using your Kubernetes cluster credentials. You may encounter a certificate warning, so make sure to override it.
  2. 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.

Managing your Installation

Note that the dashboard is a helm chart (helm ls -n kubernetes-dashboard).

If you have helm3 installed locally, you can upgrade or uninstall like you would do any helm chart. The customization options are documented in values.yaml.