- intended to be served from inside the cluster
- serves a basic xterm.js which is plugged into a particular pod
- uses websockets, which (with Deno) means that
--cert
must be provided as below - uses websocketstream, so you also need
--unstable
- is very insecure, do not serve on the internet
- error handling is bad
you can run like this:
deno run -A --unstable --cert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt mod.tsx