Kubernetes Dashboard-5 minutes a day to play Docker container technology (173)

Source: Internet
Author: User
Tags kubernetes dashboard

Previous Chapters Kubernetes All operations we are using command line tools kubectl completed. To provide a richer user experience, Kubernetes also developed a WEB-based Dashboard that enables users to deploy containerized applications with Kubernetes Dashboard, monitor the status of applications, perform troubleshooting tasks, and manage Kubernetes Various resources.

It can be said that Kubernetes Dashboard provides kubectl most of the functions, you can choose according to the situation.

installation

Kubernetes no Dashboard is deployed by default and can be installed with the following command:

Kubectl create-f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/ Kubernetes-dashboard.yaml

dashboard will be in   kube-system  namespace Create your own Deployment and Service.

because the Service isClusterIPtype, for ease of use, we cankubectl --namespace=kube-system edit service kubernetes-dashboardmodified intoNodePorttype.

Save the modifications, at which point the Service has been assigned a port   31614

access dashboard  via browser https://192.168.56.105:31614/

Configure logon Permissions

Dashboard SupportKubeconfigand theTokentwo kinds of authentication methods, in order to simplify the configuration, we pass the configuration filedashboard-admin.yamlgive admin permissions to the Dashboard default user.

execute   kubectl apply   make it effective.

now directly click on the login page   skip   can enter Dashboard.

In the next section we will use Kubernetes Dashboard.

Books:

1. 5 minutes a day kubernetes "
https://item.jd.com/26225745440.html

2.5 minutes a day to play Docker container technology
https:// item.jd.com/16936307278.html

3.5 minutes of play with OpenStack per day
Https://item.jd.com/12086376.html


Kubernetes Dashboard-5 minutes a day to play Docker container technology (173)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.