- Kubernetes on AWS
- Ed Robinson
- 376字
- 2021-06-10 18:41:27
Using the dashboard
The Kubernetes dashboard is a web application that runs within your Kubernetes cluster and offers an alternative, more graphical solution, for exploring and monitoring your cluster.
Minikube automatically installs the dashboard and provides a command that will open it in your web browser:
$ minikube dashboard

The dashboard interface is very easy to use, and you should begin to notice more than a few similarities with the way that kubectl works, since they both allow you to interact with the same underlying API.
The Navigation bar on the left of the screen gives access to screens showing a list of resources of a particular kind. This is similar to the functionality provided by the kubectl get command:

In this view, we can click on the icon that looks like a stack of papers in order to open a log viewer to view the logs captured from standard out in each container in the pod:

Other resources have other options appropriate to their function. For example, Deployments and Replica Sets have a dialog to scale the number of pods up or down.
By clicking on the name of a particular resource, we get a view that shows similar information to kubectl describe:

The detail screen provides us quite a lot of information about pods or other resources in Kubernetes:

As well as an overview of the configuration and settings for the resources, if you scroll to the bottom of the page, you should be able to see a feed of events. This is very useful if you are trying to debug issues and will highlight any errors or problems with a running resource.
For pods, we get a number of other options for managing and inspecting the container. For example, opening an in-browser terminal by clicking the exec button:

Currently, for this feature to work properly, your container needs to have /bin/bash available. This might change in future versions of the dashboard, but for now, to make this work add RUN apk add --no-cache bash to your Dockerfile and deploy the newly built image.
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- Mastering VMware vSphere 6.5
- 單片機技術一學就會
- 網中之我:何明升網絡社會論稿
- 網絡服務搭建、配置與管理大全(Linux版)
- Excel 2007終極技巧金典
- Ansible 2 Cloud Automation Cookbook
- Mastering Text Mining with R
- Kubernetes on AWS
- PostgreSQL 10 High Performance
- 巧學活用Linux
- 服務器配置與應用(Windows Server 2008 R2)
- 深度學習500問:AI工程師面試寶典
- ASP.NET 4.0 MVC敏捷開發給力起飛
- Arduino創意機器人入門:基于Mixly