• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

benc-uk/kubeview: Kubernetes cluster visualiser and graphical explorer

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

benc-uk/kubeview

开源软件地址(OpenSource Url):

https://github.com/benc-uk/kubeview

开源编程语言(OpenSource Language):

Vue 58.0%

开源软件介绍(OpenSource Introduction):

KubeView

Kubernetes cluster visualiser and visual explorer

KubeView displays what is happening inside a Kubernetes cluster (or single namespace), it maps out the API objects and how they are interconnected. Data is fetched real-time from the Kubernetes API. The status of some objects (Pods, ReplicaSets, Deployments) is colour coded red/green to represent their status and health

The app auto refreshes and dynamically updates the view as new data comes in or when it changes.

Currently displays the following Kubernetes objects:

  • Deployments
  • ReplicaSets / StatefulSets / DaemonSets
  • Pods
  • Services
  • Ingresses
  • LoadBalancer IPs
  • PersistentVolumeClaims
  • Secrets
  • ConfigMaps

Status

Note. No secrets are exposed by the Kubeview API, values are redacted and replaced with __VALUE REDACTED__ before being sent.

Demo & Screenshots

Short video demo

Screenshots

demo demo2

Application Components

The app consists of two separate but connected elements, in the standard pattern of backend REST API and JS client frontend

  • Client SPA - Vue.js single page app. All visualisation, mapping & object connection logic is done client side
  • API Server - Scrapes Kubernetes API and presents it back out as a custom REST API. Also acts as HTTP serving host to the SPA. Written in Go

Repo Details

This projects follows the 'Standard Go Project Layout' directory structure and naming conventions as described here

  • /cmd/server - Source of the API server, written in Go. See the readme there for more details
  • /web/client - Source of the client app, written in Vue.js. See the readme in there for more details
  • /deployments/helm - Helm chart for simplifying deployment. See the readme in there for more details
  • /build - Build artifacts such as the Dockerfile

Docker Image

Builds of the Docker image are hosted publicly on GitHub Container Registry here: https://github.com/users/benc-uk/packages/container/package/kubeview

  • The latest tag is likely to be unstable
  • Versioned tags are build and pushed in sync with released versions of this repo, e.g. docker pull ghcr.io/benc-uk/kubeview:0.1.17

Helm Chart

Helm chart called 'kubeview' is provided in the charts directory to help deploy and install KubeView into your cluster. The chart is also available in packaged form, in the releases section

Use the supplied sample example-values.yaml file (copy it to a new name, e.g. myvalues.yaml) to configure how to deploy KubeView. The main choice is if you want to expose the service via an ingress ingress.enabled: true or a load-balancer service ingress.enabled: false

When using an Ingress additionally configure the DNS hostname and TLS certs if you want to use HTTPS

Cluster or Namespaced Deployment

the chart supports deployment in a single namespace, set limitNamespace: true. In this mode, KubeView will be limited to displaying only the namespace it is deployed into (via the helm --namespace flag), and the namespace picker will not be shown in the UI. The ServiceAccount/Role/Binding will be scoped to this namespace too, rather than cluster wide.

This is passed to the server via the NAMESPACE_SCOPE env variable

Usage

Deploy with the standard Helm install command:

cd charts
helm install kubeview ./kubeview -f myvalues.yaml

Project Meta

Known Issues

  • Filtering only applies to certain objects such as pods and controllers
  • On Firefox, the namespace picker doesn't show a drop down list, you have to start typing a name for the list to appear. This is Firefox behavior not a bug

Todo / Roadmap

  • Support some CRDs
  • Display Nodes
  • Filtering improvements (no refresh)
  • Settings with detail levels

Change Log

See releases




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
tidwall/sjson: Set JSON values very quickly in Go发布时间:2022-07-08
下一篇:
vvkeep/JSONConverter: 发布时间:2022-07-08
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap