Java – where data is stored in the kubernetes cluster
How do I write / read data controlled by the replication controller and "hide" behind the service in kubernetes? If I have an application that receives an image from the user that needs to be retained, where should I store it? Because of the previous service, if I use a volume, I cannot control which node it is stored on
Solution
I think the "simple" answer to your question is that you need to share storage under the kubernetes cluster so that each pod can access the same data Then, it doesn't matter where the pod is running and which pod actually executes the service
Perhaps another solution is flocker, who briefly described themselves:
Anyway, I think the storage problem on kubernetes or any other dock infrastructure is very interesting
It seems that Google App Engine does not support sharing data stores between their applications by default, as they pointed out in so question