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.

  • sbt docker:stage returns java.util.regex.PatternSyntaxException error
  • Connect tomcat container to mysql container
  • Socketplane and Docker : How to connect 2 (or more) physical hosts with each others
  • Docker's containers communication using Consul
  • git clone project from inside docker container
  • How to declared a Named Volume in a Dockerfile?
  • fail to access mysql via docker link
  • How debug Dockerfile which runs on one platform but not another
  • Setting the Docker's container environnement (Env) via the docker remote api
  • Configuring Postgres for tcp md5 in docker environment
  • Docker Compose and rabbitmq docker image plugins
  • Running Windows Server Core in Docker Container
  • 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.