A very popular web based user interface of Kubernetes is known as Dashboard. For the purpose of deploying applications to a Kubernetes cluster which will be containerized, managing the cluster with the help of attendant resources and also to troubleshoot the containerized application can be done with the help of dashboard. This system can also be used to get a broad view on those applications that are running on the Kubernetes cluster and also help in creating or modifying certain individual Kubernetes resources like jibs, Daemon Sets, deployment and many more. In the cluster there are several Kubernetes resources and Dashboard helps in providing information regarding the state of these resources. One thing that you should remember is that Dashboard UI cannot be deployed by default.
Enthusiastic about exploring the skill set of Kubernetes? Then, have a look at the Kubernetes Training Course together additional knowledge.
In this blog we will discuss about the following topics:
Either by making use of kubectl command line interface or by accessing the master apiserver of Kubernetes by using web browser, there are several ways in which you can access the dashboard UI.
On accessing the dashboard on an empty cluster you will find that the welcome page. This page will contain a button that will deploy your first application. Also you can see which system applications that are running by default in the namespace of the cluster.
With the help of dashboard you can also create and deploy a containerized application in the form of deployment and optional service with a simple wizard. You are provided with two options. You can specify application details manually. You can also upload a YAML or JSON file that contains the application configuration. In order to access the deploy wizard that is present in the welcome page you have the right button. I order to access the wizard at later point you can always click the create button that is present at the upper right side of the page.
Information regarding the deploy wizards are:-
Declarative configurations are supported by Kubernetes. Here, all types of configurations are stored in JSON or YAML configure a file that is done by using API resource schemas. Another alternative method to specify application details in case of deploy wizard, users have the permission to define their application in the form of YAML or JSON file and then upload the files with the help of dashboard.
Dashboard showcases the Kubernetes objects in initial view if they are defined in cluster. The objects from the default namespace are only shown by default. The user can also change is by using the namespace selector which is situated in the navigation menu. With the help of dashboard, objects of the Kubernetes are shown and they are also grouped in menu categories.
Role of admin option
The role of an admin button is to view for cluster and namespace administration. With the help of this you can list nodes, persistent volumes and namespace. It contains details view of the nodes, volumes and namespace. Throughout the year node, the CPU and memory usage metrics are aggregated and the node list view contains all the details.
The status of all applications running in a selected namespace is shown at entry point view. The view makes a list of applications by workload kind like deployments, stateful sets, replica sets and many more. Also each type of workload kind can be viewed separately. The list contains all the information about the workload which includes the number of pods that are ready for a replica set or a usage of pods for current memory.
Discovery and services
Those Kubernetes resources that will allow exposing services to external world are shown by services and discovery views. These are discovered within a cluster.
The persistent volume claim resources are shown by storage view and they are so used by applications for storing data.
All Kubernetes resources which are being used for live configuration of those applications that are running in cluster are shown by configuration view. There are also config maps and secrets. With the view, permission for editing and also managing Config objects are and to display secrets that are hidden by default is given.
The logs viewer has the link to pod lists and detail pages and they are built into dashboard.
Dashboard is used for providing information regarding the state of the Kubernetes resources that is present in the cluster. They are also present on any types to error which might have occurred. Dashboard is a web based Kubernetes user interface is highly useful.
Sandeep is working as a Senior Content Contributor for Mindmajix, one of the world’s leading online learning platforms. With over 5 years of experience in the technology industry, he holds expertise in writing articles on various technologies including AEM, Oracle SOA, Linux, Cybersecurity, and Kubernetes. Follow him on LinkedIn and Twitter.