© Deepak Vohra 2016

Deepak Vohra, Kubernetes Microservices with Docker, 10.1007/978-1-4842-1907-2_4

4. Using MySQL Database

Deepak Vohra

(1)White Rock, British Columbia, Canada

MySQL database is the most commonly used open source database. The Docker image “mysql” could be used to create a Docker container running a MySQL database instance. Running Docker separately for a single MySQL instance or multiple instances lacks the features of scheduling multiple instances, scaling, and providing a service for external clients. In this chapter we shall discuss how the Kubernetes container cluster manager could be used to overcome all of those deficiencies.

  • Setting the Environment

  • Creating a Service

  • Creating a Replication Controller

  • Listing the Pods

  • Listing ...

Get Kubernetes Microservices with Docker now with O’Reilly online learning.

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