This is a project to learn how to stream kubernetes logs to a web page. It works. Try it out!
- Copy
.env.exampleas.env.localand follow the text instructions. - Then, run *
n i autoandpnpm i. - Finally, run
tilt upto 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.