Comment on What's the best approach to deploy a static website to K8s cluster from a CI pipeline?
xinayder@infosec.pub 1 year agoHow is this different than mounting the folder with the static website using hostPath
?
Comment on What's the best approach to deploy a static website to K8s cluster from a CI pipeline?
xinayder@infosec.pub 1 year agoHow is this different than mounting the folder with the static website using hostPath
?
pacology@lemmy.world 1 year ago
I imagine you are using k8s because you want to learn the platform.
In a real cluster with multiple machines, you don’t know which machine will run your container (that’s the point of clusters).
Do you need to host your files on a storage server and link these files to the containers through nfs.
See this post for an example on his to do it.