Giter Site home page Giter Site logo

afritzler / garden-universe Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 18.96 MB

3D Visualization of Gardener Kubernetes Landscapes

License: Apache License 2.0

Go 65.25% HTML 28.60% Makefile 3.65% Dockerfile 2.50%
kubernetes visualization 3d webgl infrastructure gardener kubernetes-landscapes devops garden-universe kubernetes-landscape

garden-universe's Introduction

garden-universe

garden universe logo


Overview

Garden universe renders a Kubernetes landscape which is setup and managed by the Gardener Project into a dynamic 3D graph. An example landscape visualization can be found here.

Features

  • 3D landscape overview
  • Seed <-> shoot relationship
  • Identify shoot clusters with errors
  • Show latest error message for a shoot

Installation and Usage

Get the garden-universe binary

go get github.com/afritzler/garden-universe

Start garden-universe locally

garden-universe serve --kubeconfig=PATH_TO_MY_KUBECONFIG

The web UI can be accessed via http://localhost:3000 and the rendered landscape graph under http://localhost:3000/graph. With the --port flag you can also specify under which port the garden-universe server should be exposed (default is 3000).

Alternative Rendering

There are two other rendering alternatives:

Development

Before running make you need to make sure that statik is installed in your go workspace.

go get github.com/rakyll/statik

To build and run the garden universe

git clone https://github.com/afritzler/garden-universe $GOPATH/src/github.com/afritzler/garden-universe
cd $GOPATH/src/github.com/afritzler/garden-universe
go run *.go serve --kubeconfig=PATH_TO_MY_GARDENER_CLUSTER_KUBECONFIG

or to build and run it using the executable

make
./garden-universe serve --kubeconfig=PATH_TO_MY_GARDENER_CLUSTER_KUBECONFIG

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 garden universe server should be exposed (default is 3000).

To build the Docker image

cd $GOPATH/src/github.com/afritzler/garden-universe
make docker-build

Acknowledgements

Garden universe is using 3d-force-graph for rendering.

garden-universe's People

Contributors

afritzler avatar dependabot[bot] avatar wyb1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wyb1

garden-universe's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.