This message was deleted.
# general
a
This message was deleted.
b
"It depends" But generally no. Like you can do this in a Rancher cluster but as far as I know, there's no inherent feature that's officallly part of the Rancher project that does this.
a
You'd generally do this as part of the container image building process
Or potentially mount it to the container via another abstraction but I doubt you'd do this for an entire static site
b
Yeah. There are also some VS Code extensions that I believe can do something similar, but David is right, it's additional layers of abstraction.
You'd be better off with a private repo and some hooks that build/deploy on commits.
Which there are lots of ways of doing.
g
Thank you for you all suggested . now ,i tried to mount persistent volume of pod to Linux VM for copy source code to it.
b
If I were looking at a way to do this I might consider an NFS backend with a PVC
g
We have to created PVC from volume group of Nutanix cluster .
But my mount still isn’t successful. But I think this way It looks like it would be an easy way to upload.
b
There's a dozen ways to do this.
You could have also done a CLI into the pod and done a git clone, or wget... or...
g
Thanks for the information, but I’ll try it out first.