- 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
--certmust 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