Skip to content
Interact with your kubernetes cluster rendered in 3d using threejs and css3d
JavaScript CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
router
views
.gitignore
1-deployment.yaml
2-service.yaml
Dockerfile
Readme.md
k8s8.gif
package-lock.json
package.json

Readme.md

Kubernetes-3d-vizualizer

Interact with your kubernetes cluster in 3d..just by starting a pod. :)

View pod logs, details and cluster events with a single click.

Delete pods and watch the cluster orchestration do its work.

This version is built on Nodejs and everything is done from within the pod and cluster.
No sidecar needed, no kubectl proxy needed.

Make sure the pod has enough rights to read other pods and query kube-apiserver (it will use the pod serviceaccount rights).

Also working with Minikube.


Prerequisites

Get up and running with included yamls:
kubectl apply -f 1-deployment.yaml
kubectl apply -f 2-service.yaml
minikube service kubernetes-3d

This should open your browser and the page will show.

Without yamls files:
kubectl create deployment kubernetes-3d --image=reneschoonrok/kubernetes-3d-visualizer:latest
kubectl expose deployment kubernetes-3d --type=LoadBalancer --port=80
minikube service kubernetes-3d

If you are not on minikube but on a full cluster than expose via loadbalancer/ingress etc.
Cleanup:
kubectl delete service kubernetes-3d
kubectl delete deployment kubernetes-3d

See deployment yaml for the TOKEN env var which can give rights to logfiles and pod deletion.


Credits..

Threejs as this app makes use of:
https://threejs.org/docs/#examples/renderers/CSS3DRenderer

Godaddy kubernetes-client:
https://github.com/godaddy/kubernetes-client

Based on an example from:
https://threejs.org/examples/css3d_periodictable.html

You can’t perform that action at this time.