All Projects → rilleralle → k8s-graph

rilleralle / k8s-graph

Licence: MIT license
Visualize your Kubernetes (k8s) cluster

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to k8s-graph

D3 Dot Graph
This module provides D3js compatible library to parse and load files in graphviz DOT (.dot) (graph description language) format.
Stars: ✭ 23 (+0%)
Mutual labels:  d3, d3v4, d3js
V Chart Plugin
Easily bind a chart to the data stored in your Vue.js components.
Stars: ✭ 188 (+717.39%)
Mutual labels:  d3, d3v4, d3js
D3js doc
D3js中文文档 D3中文 📊 📈 🎉
Stars: ✭ 1,599 (+6852.17%)
Mutual labels:  d3, d3v4, d3js
d3.geometer
[NOT MAINTAINED] A D3js library for drawing polytopes, angles, coordinates, geometries and more.
Stars: ✭ 18 (-21.74%)
Mutual labels:  d3, d3v4, d3js
D3
This is the repository for my course, Learning Data Visualization with D3.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 64 (+178.26%)
Mutual labels:  d3, d3v4, d3js
D3 Es6
D3 力导向图 增删改动态更新数据 点击生成节点 拖拽生成连线...
Stars: ✭ 155 (+573.91%)
Mutual labels:  d3, d3v4, d3js
D3tutorial
📊📈 A D3 v6 tutorial - interactive bar chart and multiple coordinated views (MCV)
Stars: ✭ 163 (+608.7%)
Mutual labels:  d3, d3v4, d3js
Gtr Cof
Interactive music theory dashboard for guitarists. http://guitardashboard.com/
Stars: ✭ 244 (+960.87%)
Mutual labels:  d3, d3js
ddplot
Create D3 based SVG graphics easily from R
Stars: ✭ 43 (+86.96%)
Mutual labels:  d3, d3js
d3-symbol-extra
Additional D3 symbol types.
Stars: ✭ 16 (-30.43%)
Mutual labels:  d3, d3v4
d3-geomap
A library for creating geographical maps based on D3.js
Stars: ✭ 124 (+439.13%)
Mutual labels:  d3, d3js
mastering-d3
Code examples for the book Mastering D3.js, published in August 2014 by Packt Publishing.
Stars: ✭ 56 (+143.48%)
Mutual labels:  d3, d3js
multi-chart
lit-element building blocks for charts and visualization (based on d3.js v5)
Stars: ✭ 24 (+4.35%)
Mutual labels:  d3, d3v4
Plotly Graphing Library For Matlab
Plotly Graphing Library for MATLAB®
Stars: ✭ 234 (+917.39%)
Mutual labels:  d3, d3js
Ssthouse Blog
个人博客仓库:前端 / 数据可视化 / D3.js
Stars: ✭ 231 (+904.35%)
Mutual labels:  d3, d3js
react-native-d3multiline-chart
Animated Android and iOS multiline/line/scatterPoint chart based on d3.js 🤘😎🤘
Stars: ✭ 43 (+86.96%)
Mutual labels:  d3v4, d3js
Reaviz
📊 Data visualization library for React based on D3
Stars: ✭ 215 (+834.78%)
Mutual labels:  d3, d3js
you-draw-it
Datenjournalismus: Nutzer können schätzen, wie sich Statistiken verändert haben und ihre Einschätzung danach überprüfen.
Stars: ✭ 24 (+4.35%)
Mutual labels:  d3, d3js
D3Fire
Power your D3 visualizations with data from Firebase
Stars: ✭ 31 (+34.78%)
Mutual labels:  d3, d3js
Vuesalize
Component library dedicated to simplifying interactive visualization building in Vue.js.
Stars: ✭ 24 (+4.35%)
Mutual labels:  d3, d3js

Build Status

Visualize Your Kubernetes Cluster

Image

Abstract

This project contains 3 parts to visualize your k8s graph.

Docker container is already available on DockerHub so you can skip part 1. and 2. and just create the k8s deployment.

  1. Node server, that polls the information from k8s api and creates a graph using D3.
  2. Dockerfile, that creates the container.
  3. k8s yaml file, that will create a service and a deployment with two containers.
    1. kubectl started with proxy, so the node server can access the k8s api.
    2. Node server, that renders the graph using D3.

Node server

Relevant files for the node server are server.js, k8s.html and package.json.

The node server polls - by default - every second the k8s api and extracts the relevant information to create the graph visualization which is implemented in the html file.

The following list shows the values, that can be configured via env variables:

Dockerfile

Yeah, this is the Dockerfile that creates the docker container with the node server. Docker container is published at DockerHub rilleralle/k8s-graph

K8s Yaml File

Yaml file creates one service and one deployment - with two container.

Service:

By default the service type is NodePort. If you are running k8s on a cloud service like AWS or Google you can also use aLoadBalancer. Read more about Service Types.

Deployment:

Creates a deployment with two container.

  1. kubectl container, that starts with proxy command so the node server can access the k8s api to fetch the required information to render the graph.
  2. Node server container. Docker image is available on DockerHub docker pull rilleralle/k8s-graph Set env variables to configure node server. See section Node server

Create deployment

$ kubectl apply -f k8s-graph.yaml

RBAC

With K8S 1.9.2 the default user does not have access to the API any more. Please create a service account that has read access for the endpoints nodes and pods. Use this account to execute the graph container. You can also bypass the RBAC by making the default user a cluster-admin. Please be aware, that this could be a secutiry issue!

kubectl create clusterrolebinding kube-system-default-admin   --clusterrole=cluster-admin --serviceaccount=default:default
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].