Skip to content

Kubernetes cluster visualiser and graphical explorer

License

Notifications You must be signed in to change notification settings

hsingli20/kubeview

 
 

Repository files navigation

KubeView

Kubernetes cluster visualiser and visual explorer

KubeView displays what is happening inside a Kubernetes cluster, 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 changes

Currently displays:

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

Note. This is a work in progress ☢

Demo & Screenshots

demo

Application Components

  • Client SPA - Vue.js single page app. All visualisation, mapping & logic done here
  • 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
  • /web/client - Source of the client app, written in Vue.js
  • /deployments - Kubernetes deployment manifests and instructions

Azure Pipelines CI Build

Build Status

Enhancement

replace the icons with labels provided by kubernetes community

Here is the link for all these icons. I also changed the green/grey/red icons when needed. https://github.com/kubernetes/community/blob/master/icons/svg

add the host/node topology views

it is easy to check which node the pod is allocated.

improve the performane when query api server

using go func can improve the performance of api query

Todo

Short Term

  • Filtering improvements (no refresh)
  • Support some CRDs?
  • Display Nodes?

Medium Term

  • Security
  • Add AI
  • Profit

About

Kubernetes cluster visualiser and graphical explorer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 53.1%
  • Go 33.9%
  • JavaScript 5.1%
  • Dockerfile 4.2%
  • Smarty 2.5%
  • HTML 1.0%
  • CSS 0.2%