- 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.
- 人工智能超越人類
- 高性能混合信號ARM:ADuC7xxx原理與應(yīng)用開發(fā)
- 工業(yè)機器人產(chǎn)品應(yīng)用實戰(zhàn)
- Circos Data Visualization How-to
- Deep Learning Quick Reference
- 3D Printing with RepRap Cookbook
- Windows環(huán)境下32位匯編語言程序設(shè)計
- 網(wǎng)絡(luò)組建與互聯(lián)
- Machine Learning with Apache Spark Quick Start Guide
- Deep Reinforcement Learning Hands-On
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·智能制造裝備
- 過程控制系統(tǒng)
- INSTANT VMware vCloud Starter
- 機床電氣控制與PLC
- 簡明學(xué)中文版Flash動畫制作