Configuring volumes in Kubernetes

Volumes are handled very differently in Kubernetes compared to Apache Mesos. In fact, Kubernetes persistent volumes support Azure, vCloud, and AWS. Kubernetes also supports Ceph, Flocker, Gluster FS, and even Git. This extensive support opens up opportunities for storing your data on the cloud and also enables easy backups.

Note

To take a look at the complete set of supported volumes, go to http://kubernetes.io/docs/user-guide/volumes/#types-of-volumes .

Getting ready

In this recipe, we will learn how to map the volume where our data files are stored in the geolocation microservice.

  1. First, delete any deployments, replication controllers, port forwards, or services that you already have for geolocation. You can leave ...

Get Microservices Deployment Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.