How to remain the installed packages after microk8s restarting

I deployed JupyterHub on microk8s on Ubuntu. In Jupyterhub terminal, I install cuda packages by: conda install cuda -c nvidia.
Then I can see the installed cuda packages list by: conda list. But After I restart microk8s or reboot Ubuntu, the cuda packages disappear. How can I keep the installed packages after microk8s restarting? Thanks.

You should rebuild your singleuser-server image to include any packages you need: