Sam Rose @samwho.dev · Jun 12

Working on creating a demo visualisation of my Kubernetes cluster that runs in the browser. Just got network visualisation working. Each image is its own actual bit of running code using a fetch-like API to talk to other pods, and the network emits events when this happens.

43 likes 3 replies

?

Replies

Sam Rose · Jun 12

It doesn’t look like much but there’s 76,000 lines of Kubernetes code under there. I have a Kubelet, an apiserver, a probing subsystem, pod life cycle event generator, container GC, container runtime, container network, CoreDNS, various resource controllers. It is as realistic as I can make it.

Juan Cardenas · Jun 12

Every time you post something like this, I always wonder: “how on earth did you do that?”

Dhruman · Jun 12

Would love to try it out. Any plan to make it public?