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.

  • Unable to connect to dockerized mysql db remotely
  • client is newer than server (client API version: 1.24, server API version: 1.21)
  • Jenkins service in Docker swarm stays at 0/1 replicas
  • AWS Elastic Beanstalk Docker main command
  • Error response from daemon: Container CONTAINER_NAME is not running
  • docker build shows: failed sandbox add: failed to set gateway while updating gateway: invalid argument
  • Cannot exit from Docker container
  • Mapping an existing local neo4j database to a neo4j docker container
  • How to bind a shared directory from container to host in Docker
  • Docker Quickstart Terminal crash on Mac OS X
  • When and when not to use tty in Docker Remote API
  • Can not add a volume to Mongodb Docker instance
  • 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.