O'Reilly logo

Microservices Deployment Cookbook by Vikram Murugesan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required