How expose a tcp port without losing the pod data?
Pretty dumb move from my side, any way to save a day of work?
4 Replies
all files saved on volume storage is being saved, container storage will always get wiped on pod stop
^what this means is move things under the /workspace folder 🙂
And then when you restart your pod / edit the pod to have the TCP port, the data will persist
tho u might need to redo ur pips / apt-get installs
my volume mount path is already /workspace 😃 I can proceed without issues then?
As long as your stuff u dont want to lose is inside of the /workspace
then yes
It just cannot exist outside of the /workspace folder
If u want it persisted