Krishna Donepudi:
Hello, Has anyone tried the example in <https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/> ? The pod is not mounting /mnt/data/index.html from host & $curl <http://localhost/> on pod is not showing the contents of index.html
Fernando Jimenez:
That example will work ONLY if the pod gets scheduled in the node were you are creating the volume. Thus, they wrote:
Before you begin
You need to have a Kubernetes cluster that has only one Node ...
Fernando Jimenez:
Of course, without any other information, it is the best guess I can give you.
Krishna Donepudi:
That explains… Awesome! Thanks a lot Fernando