How to read all data inside volume from kubernetes master

Is there a way to read the actual data inside volumes from kubernetes master, nodes or even another client? If yes, what is the response data format? It seems the REST API only provides list, create and delete volumes. Thanks.

  • Connecting an Oracle DB Container and a Java application Container (Docker)
  • Unable to connect a dockerised keystone container with a dockerised mongo container
  • How to start a mongodb shell in docker container?
  • Automation of docker pull via scala
  • How can I pass build args with a remote image in docker-compose.yml?
  • docker running splash container but localhost does not load (windows 10)
  • Cannot find a valid baseurl for repo: base/7/x86_64 when build docker image
  • How to make other microservices aware of the IP address of the consul for service registry
  • How to set a var for a Docker-compose file?
  • Docker publishing ports to multiple IPs
  • Docker postgresql container with external data container
  • Pushing docker image to docker hub private repository return authentication error [closed]
  • One Solution collect form web for “How to read all data inside volume from kubernetes master”

    No, there is no REST API that can directly read the volumes. You need to mount the volume in a Pod to read its contents. Please take a look this doc: https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/volumes.md, it has links to examples of how to use various volumes.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.