This is a project to learn how to stream kubernetes logs to a web page. It works. Try it out!
- Copy
.env.example
as.env.local
and follow the text instructions. - Then, run *
n i auto
andpnpm i
. - Finally, run
tilt up
to start the server.
Note
*These commands assume you have n
(or nvm
) for node, pnpm
for package management, and kind
and tilt
for Kubernetes installed.
Run brew install n kind tilt ctlptrl
and npm install pnpm -g
if not.
This project is a learning project to understand/learn/explain how to stream logs from a Kubernetes cluster to a web page.
The project uses a simple Next.js app, ShadCn, and Xterm.js to create a terminal-like experience in the browser.