8888. Jupyter should be pre-installed in the container image.
22as NodePort. sshd package should be pre-installed in the container image.
/rootto keep state across Pod restarts.
/rootis the only persistent directory, packages you installed outside the home directory may reset on stop & start. In this case, you can fill init script with install commands such as
apt-get update && apt-get install ripgrep -y.