Skip to content

k8s in-browser streaming demo using k8s, tilt, kind, next, shadcn, and xterm.js

Notifications You must be signed in to change notification settings

yowainwright/k8s-web-logs-learning

Repository files navigation

K9s Web Logs Learning

This is a project to learn how to stream kubernetes logs to a web page. It works. Try it out!


Try it out

  • Copy .env.example as .env.local and follow the text instructions.
  • Then, run *n i auto and pnpm 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.


About

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.

About

k8s in-browser streaming demo using k8s, tilt, kind, next, shadcn, and xterm.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published