Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afritzler/kube-universe
3D Visualization of a Kubernetes Cluster
https://github.com/afritzler/kube-universe
3d devops graph infrastructure kube-universe kubernetes kubernetes-cluster kubernetes-landscapes visualization webgl
Last synced: 3 months ago
JSON representation
3D Visualization of a Kubernetes Cluster
- Host: GitHub
- URL: https://github.com/afritzler/kube-universe
- Owner: afritzler
- License: apache-2.0
- Created: 2018-04-20T08:23:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T07:39:17.000Z (3 months ago)
- Last Synced: 2024-11-08T08:31:22.790Z (3 months ago)
- Topics: 3d, devops, graph, infrastructure, kube-universe, kubernetes, kubernetes-cluster, kubernetes-landscapes, visualization, webgl
- Language: Go
- Homepage: https://afritzler.github.io/kube-universe/web/demo/
- Size: 16 MB
- Stars: 27
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kube-universe
![kube universe logo](images/logo_small.png)
---
![demo](images/demo.png)
## Overview
Kube-Universe renders a Kubernetes cluster into a dynamic 3D graph. An example landscape visualization can be found [here](images/universe.png).
A __Live Demo Version__ is available [here](https://afritzler.github.io/kube-universe/web/demo/)
## Features
* 3D cluster overview
* Identify pods with errors## Installation and Usage
Before you start you need to install `statik` to vendor the web content into executable
```bash
go get -u github.com/rakyll/statik
```Get the `kube-universe` binary
```bash
go get github.com/afritzler/kube-universe
```Start `kube-universe` locally
```bash
kube-universe serve --kubeconfig=PATH_TO_MY_KUBECONFIG
```or just
```bash
kube-universe serve
```if you are using minikube or have the `KUBECONFIG` environment variable pointing to a corresponding cluster.
The web UI can be accessed via http://localhost:3000 and the rendered graph under http://localhost:3000/graph.
With the `--port` flag you can also specify under which port the kube universe server should be exposed (default is 3000).## Development
To build and run `kube-universe` from source
```bash
git clone https://github.com/afritzler/kube-universe $GOPATH/src/github.com/afritzler/kube-universe
cd $GOPATH/src/github.com/afritzler/kube-universe
go run *.go serve --kubeconfig=PATH_TO_MY_KUBECONFIG
```or to build and run it using the executable
```bash
make
./kube-universe serve --kubeconfig=PATH_TO_MY_KUBECONFIG
```To build the Docker image
```bash
cd $GOPATH/src/github.com/afritzler/kube-universe
make docker-build
```## Acknowledgements
Kube universe is using [3d-force-graph](https://github.com/vasturiano/3d-force-graph) for rendering.