Use Dashboard -5 minutes a day to play Docker container technology (174)-Alibaba Cloud Developer Community

In the previous section, we completed the installation of the Kubernetes Dashboard. This section will practice it.

Dashboard Interface Structure

the interface of Dashboard is very simple and divided into three large areas.

  1. Top operation area you can search for resources in the cluster, create resources, or exit.

  2. The navigation menu on the left allows you to view and manage various resources in the cluster. Menu items are classified into two types by resource level: cluster-level resources   namespace-level resources  by default defaultnamespace, you can switch:

  3. in the middle body area, click a type of resource in the navigation menu. All instances of the resource are displayed in the middle body area. For example, click Pods.

Typical scenarios

next, we will introduce several typical scenarios of Dashboard.

Deployment Deployment

click top operation area + CREATEbutton.

You can enter the name, image, and number of replicas of the application to be deployed. You can also upload the YAML configuration file. If you upload a configuration file, you can create any type of resources, not just Deployment.

Online operations

for each resource, you can click button to perform various operations.

For example, click View/edit YAMLyou can directly modify the resource configuration, which takes effect immediately after saving. kubectl editSame.

View resource details

click the name of a resource instance to view the details. kubectl describeSame.

View Pod logs

on the Pod and its parent resources (DaemonSet, ReplicaSet, etc.) page, click to view the Pod logs kubectl logssame.

The interface of the Kubernetes Dashboard is friendly and self-explanatory. It can be regarded as the GUI version kubectl, more functions are left for everyone to explore.

Summary

this topic describes how to install and use Kubernetes Dashboard. Dashboard can complete most of the daily management work and can be used as a useful supplement to the command line tool kubectl.

Books:

1. "play Kubernetes in 5 minutes every day" https://item.jd.com/26225745440.html

2. Play Docker container technology in 5 minutes a day https://item.jd.com/16936307278.html

3. Play OpenStack in 5 minutes every day https://item.jd.com/12086376.html

Please read this disclaimer carefully before you start to use the service. By using the service, you acknowledge that you have agreed to and accepted the content of this disclaimer in full. You may choose not to use the service if you do not agree to this disclaimer. This document is automatically generated based on public content on the Internet captured by Machine Learning Platform for AI. The copyright of the information in this document, such as web pages, images, and data, belongs to their respective author and publisher. Such automatically generated content does not reflect the views or opinions of Alibaba Cloud. It is your responsibility to determine the legality, accuracy, authenticity, practicality, and completeness of the content. We recommend that you consult a professional if you have any doubt in this regard. Alibaba Cloud accepts no responsibility for any consequences on account of your use of the content without verification. If you have feedback or you find that this document uses some content in which you have rights and interests, please contact us through this link: https://www.alibabacloud.com/campaign/contact-us-feedback. We will handle the matter according to relevant regulations.
Selected, One-Stop Store for Enterprise Applications
Support various scenarios to meet companies' needs at different stages of development

Start Building Today with a Free Trial to 50+ Products

Learn and experience the power of Alibaba Cloud.

Sign Up Now