Code Monkey home page Code Monkey logo

gcp-live-k8s-visualizer's Introduction

Kubernetes/Container Engine Visualizer

This is a simple visualizer for use with the Kubernetes API.

Usage:

  • First install a Kubernetes or Container Engine Cluster
  • git clone https://github.com/brendandburns/gcp-live-k8s-visualizer.git
  • kubectl proxy --www=path/to/gcp-live-k8s-visualizer --www-prefix=/my-mountpoint/ --api-prefix=/api/

Then

http://127.0.0.1:8001/my-mountpoint/

That's it. The visualizer uses labels to organize the visualization. In particular it expects that

  • pods, replicationcontrollers, and services have a name label, and pods and their associated replication controller share the same name, and
  • the pods in your cluster will have a uses label which contains a comma separated list of services that the pod uses.

gcp-live-k8s-visualizer's People

Contributors

brendanburns avatar brendandburns avatar chrba avatar dazwilkin avatar galderz avatar guoshimin avatar robertdolca avatar roberthbailey avatar stevesloka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gcp-live-k8s-visualizer's Issues

<h3>Unauthorised</h3>

The instructions are deficient and the code appears broken. Without the www-prefix below, we could not get this to work and instead received "Unauthorised"

I'm running against GKE and have:

kubectl version
Client Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.3",    GitCommit:"6a81b50c7e97bbe0ade075de55ab4fa34f049dc2", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.4", GitCommit:"a5949fea3a91d6a50f40a5684e05879080a4c61d", GitTreeState:"clean"}

We worked out that minimally, the command should be:

kubectl proxy --www=/path/to/gcp-live-k8s-visualizer/  --www-prefix=/my-mountpoint/ --api-prefix=/api/

And then, 127.0.0.1:8001/my-mountpoint/

Works!

Rendering is layered on top of itself

Not working with my 1.5 series k8s cluster. Installed/running using the instructions from the README. Using Chrome 56.

Empty page flash:

image

When it does render (briefly):

image

K8S Dashboard not visible when proxied using the cluster on gcloud

Hi,

The dashboard is not visible when I hit the URL

http:/<machine_ip>:8001/ui.

The dashboard used to be accessible previously. Please help me in resolving this issue. Its a bit urgent.

I am trying to access the gcloud k8s cluster on my local using this utility. Please help me with the same.

I am executing the following command on my linux (centos7) machine.

nohup kubectl proxy --www=/opt/gcp-live-k8s-visualizer --address='102.101.105.21' --accept-hosts='^localhost$,^127.0.0.1$,^102.101.105.21$,^[::1]$': &

Thanks

UI not show any pod or service

I installed gcp-live-k8s-visualizer according to the instructions of the readme. However when I go to the UI from the bowser I can not see any pod or service that is in my kubernetes setup. I only can see an empty page with kubernetes logo. What could be the reason for that?

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.