KinoK8sTerm is a Kino/Smart Cell using k8s and Xterm.js to render a web terminal to connect to a Kubernetes pod. It’s very fresh and still a bit bumpy as it lacks error handling.
Just hit the “Run in Livebook” button on the Readme to try it.
KinoK8sTerm is a Kino/Smart Cell using k8s and Xterm.js to render a web terminal to connect to a Kubernetes pod. It’s very fresh and still a bit bumpy as it lacks error handling.
Just hit the “Run in Livebook” button on the Readme to try it.
I have just released kino_k8s onto hex.pm. It includes kino_k8s_term (that repo is now archived) and a few more smart cells to create, get, list, watch modify resources. The Kino aims to help people who want to start using the k8s library.
The smart cell which renders the terminal can now be used to open a shell but also to print logs of a running pod.
To try it out, just install the kino and start with the “Cluster Connection” Smart Cell:
Mix.install([{:kino_k8s, "~> 1.0"}])
Any feedback is welcome.
Just published release 1.1.0 with nicer result rendering:
K8s.Conn
is rendered as Kino.Tree
Kino.Markdown
Kino.Tree
Version 1.2.0 just went out.