运行 类似于 kubernetes dashboard 的网页

Run a web page similar to kubernetes dashboard

我想要 运行 类似于 kubernetes 的网页 dashboard.The 网页从用户那里获取输入并生成一个小文件,但我希望在不使用任何服务器的情况下加载网页. kubernetes 正在部署一个 pod 并调出我想做的网页 same.If kubernetes 也在使用服务器它是如何使用它的(它是直接用 pod 中的 OS 下载它还是如何是 kubernetes 做的吗)。

概述我想知道 kubernetes 仪表板是如何部署的,它是否使用服务器,如果是,它是如何将服务器安装在 kubernetes pod 中的,否则它是如何启动 UI.

实际上,Kubernetes 扮演着编排器的角色,为集群中的容器之间建立通信通道提供了足够的方式,默认使用Docker作为容器runtime

容器代表图像的 运行 时间环境,但是图像由 OS 层和应用程序二进制文件组成,您可以找到一个很好的解释 here. In order to build own image you might consider two ways to afford this: create an image from existing one in Docker Hub or compose image from Dockerfile.To store the customized image might be the option to push it into Docker Hub repository or stand for some private isolated repo by deploying a Registry server

当您准备好映像并计划在 Kubernetes 集群中实施应用程序时,这是创建第一个微服务的好时机。虽然,全球有大量关于 Kubernetes 集群及其 运行 时间引擎 architecture 的资料,但我将重点关注应用程序部署生命周期。

Deployment 是定义 Pods 应该如何在集群中实现的主要机制,并为进一步的应用程序 运行-time 工作流提供特定配置。

Service 描述了特定 Pod 如何与集群中的其他资源通信的方式,提供端点 IP 地址和应用程序响应的端口。

在使用 Kubernetes 的一般情况下 Dashboard, the method in use kubectl proxy will expose the application by proxying gateway between host and Kubernetes API, which is more like for testing purposes and not secure, in comparison with Nodeport type which brings more convenient way to make application accessible outside the cluster, as described in this Stack

我鼓励您在官方 Kubernetes 中获得更多学习资料 documentation