Open nikhiljha opened 3 years ago
I suppose we could set up kVDI that is accessible over the web, is that what you have in mind here?
Hmm... I think kVDI is mostly for a desktop interface. I was thinking more ssh.ocf.berkeley.edu
is actually not a real host, and when you ssh to that address and authenticate correctly it makes you your own pod with tiny resource limits that terminates when you log out.
Yeah that's fair. I'm not aware of any software that provides this functionality though :/
I couldn't find any existing technologies that do this, but I have two immediate very rough ideas:
LoadBalancer
service with tsunami's IP, ensure each Pod has openssh-server
installed, and let users ssh
normally to tsunami. Reference: https://betterprogramming.pub/how-to-ssh-into-a-kubernetes-pod-from-outside-the-cluster-354b4056c42bI should comment that any solution has to support this use case: if a user logs in, starts a background process (e.g. tmux), and logs out, the background process has to survive the logout and upon logging in again they must be returned to the same session.
When you login, connect to one of a few pods (at random?) OR spin up a new pod with your user directory & site directory mounted.